← Vulnerability feed

Vulnerability record · CVE-2012-6706 · published 22 June 2017

CVE-2012-6706: Sophos threat detection engine integer overflow vulnerability

Sophos · Threat Detection Engine

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

9.8 CVSS 3.0 Critical EPSS 10% · top 4.5% CWE-190 · Integer overflow
9.8CVSS 3.0 base score, v2 10.0
10%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References, 2 tagged exploit
16 Jun 2026Last modified by NVD

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

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

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2012-6706 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2022-30333UnRAR path traversal allows arbitrary file write on Linux and UNIXRARLAB UnRAR before 6.12 on Linux and UNIX fails to properly sanitize paths during extraction, allowing directory traversal writes outside the intend…KEVEPSS 99%analysed9.8CVE-2017-12940Rarlab unrar out-of-bounds read vulnerabilitylibunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function.EPSS 2.2%9.8CVE-2017-12941Rarlab unrar out-of-bounds read vulnerabilitylibunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the Unpack::Unpack20 function.EPSS 2.2%9.8CVE-2017-12942Rarlab unrar memory buffer overflow vulnerabilitylibunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function.EPSS 2.3%9.1CVE-2017-14122Rarlab unrar out-of-bounds read vulnerabilityunrar 0.0.1 (aka unrar-free or unrar-gpl) suffers from a stack-based buffer over-read in unrarlib.c, related to ExtrFile and stricomp.EPSS 1.8%7.8CVE-2017-20006Rarlab unrar out-of-bounds write vulnerabilityUnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile).EPSS 1.2%7.8CVE-2018-25018Rarlab unrar out-of-bounds write vulnerabilityUnRAR 5.6.1.7 through 5.7.4 and 6.0.3 has an out-of-bounds write during a memcpy in QuickOpen::ReadRaw when called from QuickOpen::ReadNext.EPSS 1.3%7.5CVE-2022-48579Rarlab unrar link following vulnerabilityUnRAR before 6.2.3 allows extraction of files outside of the destination folder via symlink chains.EPSS 0.84%

Source: NIST National Vulnerability Database (record CVE-2012-6706), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.