CVE-2012-6706 Integer overflow in n/a

Critical 9.8 Published Updated

An integer overflow in the unrar library allows attackers to execute arbitrary code via a crafted archive, affecting applications using this library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-6706?

CVE-2012-6706 is a critical vulnerability in n/a, published on 22 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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].

Weakness: CWE-190

Which versions are affected by CVE-2012-6706?

It affects 2 products.

Linux distribution packages (28)
clamav SUSE:Linux Enterprise Desktop 12 SP2All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Desktop 12 SP2All versions5.0.14-3.1
clamav SUSE:Linux Enterprise Point of Sale 11 SP3All versions0.99.2-0.19.1
unrar SUSE:Linux Enterprise Point of Sale 11 SP3All versions3.80.2-4.1
clamav SUSE:Linux Enterprise Server 11 SP3-LTSSAll versions0.99.2-0.19.1
unrar SUSE:Linux Enterprise Server 11 SP3-LTSSAll versions3.80.2-4.1
clamav SUSE:Linux Enterprise Server 11 SP3-TERADATAAll versions0.99.2-0.19.1
unrar SUSE:Linux Enterprise Server 11 SP3-TERADATAAll versions3.80.2-4.1
clamav SUSE:Linux Enterprise Server 11 SP4All versions0.99.2-0.19.1
unrar SUSE:Linux Enterprise Server 11 SP4All versions3.80.2-4.1
clamav SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server 12 SP2All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server 12 SP2All versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server 12-LTSSAll versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server 12-LTSSAll versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions0.99.2-0.19.1
unrar SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions3.80.2-4.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server for SAP Applications 12All versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions5.0.14-3.1
clamav SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions0.99.2-32.1
unrar SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions5.0.14-3.1
unrar SUSE:Linux Enterprise Software Development Kit 12 SP2All versions5.0.14-3.1
unrar SUSE:OpenStack Cloud 6All versions5.0.14-3.1

Products include Rarlab Unrar, Sophos Threat Detection Engine.

How do I fix CVE-2012-6706?

Upgrade to a fixed version.

Is CVE-2012-6706 being exploited?

There is no known exploitation of CVE-2012-6706 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2012-6706, CLEANSTART-2026-GJ83396, DEBIAN-CVE-2012-6706, DLA-1003-1, DLA-1014-1, GHSA-x9pf-gc5f-vghh and 5 more.

Is CVE-2012-6706 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free