---
title: "CVE-2012-6706\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-6706?format=md
keywords: index, follow
---

# CVE-2012-6706

Publication date 22 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2012-6706?format=md#impact-score)

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libclamunrar | 19.04 disco | Fixed 0.99-4ubuntu1 |
| 18.10 cosmic | Fixed 0.99-4ubuntu1 |
| 18.04 LTS bionic | Fixed 0.99-4ubuntu1 |
| 17.10 artful | Fixed 0.99-4ubuntu1 |
| 17.04 zesty | Ignored end of life |
| 16.04 LTS xenial | Fixed 0.99-1ubuntu0.1 |
| 14.04 LTS trusty | Fixed 0.99-0ubuntu0.14.04.2 |
| unrar-nonfree | 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Not affected |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Fixed 1:5.3.2-1+deb9u1build0.16.04.1 |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6706)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-6706)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-6706)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-6706)

### Other references

* <http://www.openwall.com/lists/oss-security/2017/06/21/9>
* <https://bugs.chromium.org/p/project-zero/issues/detail?id=1286&desc=6>
* <http://securitytracker.com/id?1027725>
* <http://telussecuritylabs.com/threats/show/TSL20121207-01>
* <https://bugs.chromium.org/p/project-zero/issues/detail?id=1286>
* <https://community.sophos.com/kb/en-us/118424#six>
* <https://lock.cmpxchg8b.com/sophailv2.pdf>
* <https://nakedsecurity.sophos.com/2012/11/05/tavis-ormandy-sophos/>
* <https://www.cve.org/CVERecord?id=CVE-2012-6706>
