CVE-2012-6706
Critical · 9.8CVSS
9.8
EPSS
10.1%
Published
Jun 22, 2017
CISA due date
—
The record
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].
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.11 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.12 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.13 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.8 | clamav | 0 | 0.99.4-r0 |
| Alpine:v3.9 | clamav | 0 | 0.99.4-r0 |
| Debian:11 | libclamunrar | 0 | 0.99-4 |
| Debian:11 | unrar-nonfree | 0 | 1:5.5.5-1 |
| Debian:12 | libclamunrar | 0 | 0.99-4 |
| Debian:12 | unrar-nonfree | 0 | 1:5.5.5-1 |
| Debian:13 | libclamunrar | 0 | 0.99-4 |
| Debian:13 | unrar-nonfree | 0 | 1:5.5.5-1 |
| Debian:7 | libclamunrar | 0 | 0.99-0+deb7u2 |
| Debian:7 | unrar-nonfree | 0 | 1:4.1.4-1+deb7u2 |
| Mageia:5 | unrar | 0 | 5.50-1.mga5.nonfree |
| SUSE:Linux Enterprise Desktop 12 SP2 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | clamav | 0 | 0.99.2-0.19.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | unrar | 0 | 3.80.2-4.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | clamav | 0 | 0.99.2-0.19.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | unrar | 0 | 3.80.2-4.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | clamav | 0 | 0.99.2-0.19.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | unrar | 0 | 3.80.2-4.1 |
| SUSE:Linux Enterprise Server 11 SP4 | clamav | 0 | 0.99.2-0.19.1 |
| SUSE:Linux Enterprise Server 11 SP4 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server 11 SP4 | unrar | 0 | 3.80.2-4.1 |
| SUSE:Linux Enterprise Server 11 SP4 | unrar | 0 | 5.6.1-5.3.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server 12 SP2 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server 12 SP3-BCL | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server 12 SP4-LTSS | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server 12 SP5 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server 12-LTSS | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server 12-LTSS | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | clamav | 0 | 0.99.2-0.19.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | clamav | 0 | 0.99.4-0.20.7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | unrar | 0 | 3.80.2-4.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | unrar | 0 | 5.6.1-5.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | clamav | 0 | 0.99.2-32.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | clamav | 0 | 0.99.4-33.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | unrar | 0 | 5.0.14-3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:OpenStack Cloud 6 | unrar | 0 | 5.0.14-3.1 |
| SUSE:OpenStack Cloud 8 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:OpenStack Cloud 9 | unrar | 0 | 5.6.1-4.5.1 |
| SUSE:OpenStack Cloud Crowbar 9 | unrar | 0 | 5.6.1-4.5.1 |
| Ubuntu:14.04:LTS | libclamunrar | 0 | 0.99-0ubuntu0.14.04.2 |
| Ubuntu:16.04:LTS | libclamunrar | 0 | 0.99-1ubuntu0.1 |
| Ubuntu:16.04:LTS | unrar-nonfree | 0 | 1:5.3.2-1+deb9u1build0.16.04.1 |
| Ubuntu:18.04:LTS | libclamunrar | 0 | 0.99-4ubuntu1 |
| openSUSE:Tumbleweed | clamav | 0 | 0.103.3-1.4 |
Related vulnerabilities
- CVE-2017-16932 parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter… Also affects clamav
- CVE-2017-11423 The cabd_read_string function in mspack/cabd.c in libmspack 0.5alpha, as used in ClamAV… Also affects clamav
- CVE-2023-40477 RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution… Also affects libclamunrar
- CVE-2024-33899 RARLAB WinRAR before 7.00, on Linux and UNIX platforms, allows attackers to spoof the… Also affects unrar-nonfree
- CVE-2022-30333 RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files… Also affects unrar-nonfree
- CVE-2017-6418 libclamav/message.c in ClamAV 0.99.2 allows remote attackers to cause a denial of service… Also affects clamav
- CVE-2015-2170 The upx decoder in ClamAV before 0.98.7 allows remote attackers to cause a denial of… Also affects clamav
- CVE-2015-2305 Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library… Also affects clamav