CVE-2023-40477: RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability
Vulnerability summary
CVE-2023-40477 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in rarlab winrar. EPSS estimates a 9.61% chance of exploitation in the next 30 days, higher than 95.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 03-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of recovery volumes. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21233.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
9.61%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
Decrease -1.77 pp
From 11.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse17 products
- clamav&distro=SUSE Enterprise Storage 7.1< 0.103.11-150000.3.50.1
- clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.103.11-150000.3.50.1
- clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 0.103.11-150000.3.50.1
- clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS< 0.103.11-150000.3.50.1
- clamav&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 0.103.11-150000.3.50.1
Debian3 products
- libclamunrar< 1.0.3-1~deb12u1 | < 1.0.3-1 | < 0.103.10-0+deb10u1
- rar< 2:6.23-1~deb12u1 | < 2:6.23-1 | < 2:6.23-1~deb10u1
- unrar-nonfree< 1:6.2.6-1+deb12u1 | < 1:6.2.10-1 | < 1:5.6.6-1+deb10u4
Opensuse3 products
- clamav&distro=openSUSE Leap 15.4< 0.103.11-150000.3.50.1
- clamav&distro=openSUSE Leap 15.5< 0.103.11-150000.3.50.1
- clamav&distro=openSUSE Tumbleweed< 0.103.11-2.1
Ubuntu3 products
- libclamunrarAll versions (No fix recorded) | < 0.103.11-0ubuntu0.20.04.1 | < 0.103.11-0ubuntu0.22.04.1
- rarAll versions (No fix recorded) | < 2:6.23-1~20.04.1 | < 2:6.23-1~22.04.1 | < 2:6.23-1
- unrar-nonfreeAll versions (No fix recorded) | < 1:5.3.2-1+deb9u1ubuntu0.1~esm1 | < 1:5.5.8-1ubuntu0.1~esm1 | < 1:5.6.6-2ubuntu0.1 | < 1:6.1.5-1ubuntu0.1
Mageia2 products
- unrar< 6.23-1.mga8.nonfree
- unrar< 6.23-1.mga9.nonfree
Rarlab1 product
- winrar6.21 | < 6.23
6 vendors · 29 products
References
18 links- www.zerodayinitiative.com/advisories/ZDI-23-1152/X Research AdvisoryREPORTThird Party AdvisoryVDB Entry