# CVE-2017-12940

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-08-18 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-12940, DEBIAN-CVE-2017-12940
- Record: https://cvemate.com/vulnerability/CVE-2017-12940 · JSON: https://cvemate.com/vulnerability/CVE-2017-12940/json

## Description

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

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.197%, percentile 83.099%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian unrar-nonfree (Debian): \< 1:5.5.8-1
- ubuntu unrar-nonfree (Ubuntu): All versions (No fix recorded)
- rarlab unrar: ≤ 5.5.6

## References

- <http://seclists.org/oss-sec/2017/q3/290>
- <https://kc.mcafee.com/corporate/index?page=content&id=SB10241>
- <https://security.gentoo.org/glsa/201709-24>
- <https://ubuntu.com/security/CVE-2017-12940>
- <http://www.openwall.com/lists/oss-security/2017/08/18/6>
- <https://www.cve.org/CVERecord?id=CVE-2017-12940>
- <https://security-tracker.debian.org/tracker/CVE-2017-12940>

---

Data as of 2026-12-05T06:26:08.278Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
