Vulnerabilities / CVE-2017-12940

critical

CVE-2017-12940

libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the Enco ...

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

Description

libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function.

Affected packages and fixed versions

SourcePackageFixed in
debian 11unrar-nonfree1:5.5.8-1
debian 12unrar-nonfree1:5.5.8-1
debian 13unrar-nonfree1:5.5.8-1
debian 14unrar-nonfree1:5.5.8-1
debian 7unrar-nonfreeno fix listed
debian 8unrar-nonfreeno fix listed
debian 9unrar-nonfreeno fix listed
echounrar-nonfree1:5.5.8-1
rapidfort fedora 43unrar, unrar-free0.3.3-2.fc43
rapidfort Oracle Linux 10unrarno fix listed
rapidfort Oracle Linux 9unrarno fix listed
Show all 12 entries from 11 sources
SourcePackageFixed in
debian 11unrar-nonfree1:5.5.8-1
debian 12unrar-nonfree1:5.5.8-1
debian 13unrar-nonfree1:5.5.8-1
debian 14unrar-nonfree1:5.5.8-1
debian 7unrar-nonfreeno fix listed
debian 8unrar-nonfreeno fix listed
debian 9unrar-nonfreeno fix listed
echounrar-nonfree1:5.5.8-1
rapidfort fedora 43unrar0.3.3-2.fc43
rapidfort fedora 43unrar-free0.3.3-2.fc43
rapidfort Oracle Linux 10unrarno fix listed
rapidfort Oracle Linux 9unrarno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.