CVE-2017-12940

critical
Published 2017-08-18 · Modified 2026-05-13
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12940

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-12940.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1:5.5.8-1
debian debianbullseyefixed1:5.5.8-1
debian debianforkyfixed1:5.5.8-1
debian debiansidfixed1:5.5.8-1
debian debiantrixiefixed1:5.5.8-1

Application impact

VendorProductVersionsFixed
rarlabunrar{"endIncluding":"5.5.6"}

References

CWEs

CWE-125

Verify integrity in audit chain (admin only). AS-IS.