SecurityContext

CVE-2012-6706: Unrar - Integer Overflow

  • Cve: CVE-2012-6706
  • Name: Unrar - Integer Overflow
  • 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].
  • Impact: Attackers can execute arbitrary code remotely by exploiting the memory corruption vulnerability.
  • Remediation: Update to version 5.5.5 or later.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.10108
  • Epss percentile: 0.95762
  • Assignee: [email protected]
  • Published at: 2017-06-22T13:29:00Z
  • Age in days: 3442
  • Modified at: 2026-06-16T23:48:38Z
  • Public exploits total: 1
  • References total: 10
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-6706
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/project-zero/issues/detail?id=1286nvd2017-06-22

References

Same in every row:

  • Source: nvd
UrlTags
https://community.sophos.com/kb/en-us/118424#sixVendor Advisory
https://nakedsecurity.sophos.com/2012/11/05/tavis-ormandy-sophos/Vendor Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=1286Exploit, Third Party Advisory
http://securitytracker.com/id?1027725Third Party Advisory
http://telussecuritylabs.com/threats/show/TSL20121207-01Third Party Advisory
https://lock.cmpxchg8b.com/sophailv2.pdfThird Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10205
https://security.gentoo.org/glsa/201708-05
https://security.gentoo.org/glsa/201709-24
https://security.gentoo.org/glsa/201804-16

Products

ProductAffectedPlatform boundSourcesUrl
rarlab:unrar<= 5.5.4nonvd/v1/products/rarlab/unrar
sophos:threat_detection_engine<= 3.36.2nonvd/v1/products/sophos/threat_detection_engine

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2017-06-22
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts