| Name | CVE-2012-6706 |
| Description | 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]. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1003-1, DLA-1014-1 |
| Debian Bugs | 865461, 867223 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libclamunrar (PTS) | bullseye/non-free | 0.103.10-1~deb11u1 | fixed |
| bullseye/non-free (security) | 1.0.3-1~deb11u1 | fixed | |
| bookworm/non-free | 1.0.3-1~deb12u1 | fixed | |
| forky/non-free, sid/non-free, trixie/non-free | 1.3.1-1 | fixed | |
| unrar-nonfree (PTS) | bullseye/non-free | 1:6.0.3-1+deb11u3 | fixed |
| bookworm/non-free | 1:6.2.6-1+deb12u1 | fixed | |
| trixie/non-free | 1:7.1.8-1 | fixed | |
| forky/non-free, sid/non-free | 1:7.1.10-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libclamunrar | source | wheezy | 0.99-0+deb7u2 | DLA-1014-1 | ||
| libclamunrar | source | jessie | 0.99-0+deb8u3 | |||
| libclamunrar | source | stretch | 0.99-3+deb9u1 | |||
| libclamunrar | source | (unstable) | 0.99-4 | 867223 | ||
| unrar-nonfree | source | wheezy | 1:4.1.4-1+deb7u2 | DLA-1003-1 | ||
| unrar-nonfree | source | jessie | 1:5.2.7-0.1+deb8u1 | |||
| unrar-nonfree | source | stretch | 1:5.3.2-1+deb9u1 | |||
| unrar-nonfree | source | (unstable) | 1:5.5.5-1 | 865461 |
https://www.openwall.com/lists/oss-security/2017/06/21/9
https://bugs.chromium.org/p/project-zero/issues/detail?id=1286&desc=6
https://github.com/vrtadmin/clamav-devel/commit/d4699442bce76574573dc564e7f2177d679b88bd