CVE-2012-6706

NameCVE-2012-6706
DescriptionA 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].
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1003-1, DLA-1014-1
NVD severityhigh (attack range: remote)
Debian Bugs865461, 867223

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libclamunrar (PTS)jessie/non-free0.99-0+deb8u3fixed
stretch/non-free0.101.2-0+deb9u1fixed
sid/non-free, bullseye/non-free, buster/non-free0.101.2-1fixed
unrar-nonfree (PTS)jessie/non-free1:5.2.7-0.1+deb8u1fixed
stretch/non-free1:5.3.2-1+deb9u1fixed
buster/non-free1:5.6.6-1fixed
sid/non-free, bullseye/non-free1:5.6.6-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libclamunrarsource(unstable)0.99-4high867223
libclamunrarsourcejessie0.99-0+deb8u3high
libclamunrarsourcestretch0.99-3+deb9u1high
libclamunrarsourcewheezy0.99-0+deb7u2highDLA-1014-1
unrar-nonfreesource(unstable)1:5.5.5-1high865461
unrar-nonfreesourcejessie1:5.2.7-0.1+deb8u1high
unrar-nonfreesourcestretch1:5.3.2-1+deb9u1high
unrar-nonfreesourcewheezy1:4.1.4-1+deb7u2highDLA-1003-1

Notes

http://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

Search for package or bug name: Reporting problems