CVE-2012-6706
Reported by mitre · Published June 22, 2017
A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Threat Detection Engine before 3.37.2 and other products, that can lead to arbitrary code execution. An integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the "DestPos" variable, which allows the attacker to write out of bounds when setting Mem[DestPos].
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libunrar | Arch Linux | 1:5.5.5-1 |
| clamav | Alpine | 0.99.4-r0 |
| libclamunrar | Ubuntu:16.04:LTS | 0.99-1ubuntu0.1 |
| libclamunrar | Ubuntu:14.04:LTS | 0.99-0ubuntu0.14.04.2 |
| threat_detection_engine | sophos | 3.36.2 |
| unrar | rarlab | 5.5.4 |
| libclamunrar | Ubuntu:18.04:LTS | 0.99-4ubuntu1 |
| unrar-nonfree | Ubuntu:16.04:LTS | 1:5.3.2-1+deb9u1build0.16.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | libunrar | 0 |
| alpine | clamav | 0 |
| n/a | n/a | * |
| arch | clamav | 0 |
| arch | unrar | 0 |
Timeline
- Jun 22, 2017 CVE Published
- Apr 5, 2018 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Jun 2, 2026 Security Advisory (5 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-6706
vulnetix vdb fixes CVE-2012-6706
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-6706/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- GLSA-201709-24 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- GLSA-201708-05 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- GLSA-201804-16 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC