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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1003-1, DLA-1014-1
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.102.3-0+deb9u1fixed
buster/non-free (security), buster/non-free0.103.10-0+deb10u1fixed
bullseye/non-free0.103.10-1~deb11u1fixed
bullseye/non-free (security)1.0.3-1~deb11u1fixed
bookworm/non-free1.0.3-1~deb12u1fixed
trixie/non-free, sid/non-free1.3.1-1fixed
unrar-nonfree (PTS)jessie/non-free1:5.2.7-0.1+deb8u1fixed
stretch/non-free1:5.6.6-1+deb9u2fixed
buster/non-free (security), buster/non-free1:5.6.6-1+deb10u4fixed
bullseye/non-free1:6.0.3-1+deb11u3fixed
bookworm/non-free1:6.2.6-1+deb12u1fixed
trixie/non-free, sid/non-free1:7.1.2-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libclamunrarsourcewheezy0.99-0+deb7u2DLA-1014-1
libclamunrarsourcejessie0.99-0+deb8u3
libclamunrarsourcestretch0.99-3+deb9u1
libclamunrarsource(unstable)0.99-4867223
unrar-nonfreesourcewheezy1:4.1.4-1+deb7u2DLA-1003-1
unrar-nonfreesourcejessie1:5.2.7-0.1+deb8u1
unrar-nonfreesourcestretch1:5.3.2-1+deb9u1
unrar-nonfreesource(unstable)1:5.5.5-1865461

Notes

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

Search for package or bug name: Reporting problems