CVE-2023-40477
CVE-2023-40477 is a high-severity vulnerability in Rarlab Winrar with a CVSS 3.x base score of 7.8. Its EPSS exploit-prediction score of 13% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-129.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 13% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2023-45048
- Weakness: CWE-129
- Affected product: Rarlab Winrar
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-40477?
- 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.
- How severe is CVE-2023-40477?
- CVE-2023-40477 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-40477 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 13% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-40477?
- CVE-2023-40477 affects Rarlab Winrar. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-40477?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2023-40477 have an EU (EUVD) identifier?
- Yes. CVE-2023-40477 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2023-45048.
- When was CVE-2023-40477 published?
- CVE-2023-40477 was published on 2024-05-03 and last updated on 2026-06-17.
References
- https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa
- https://www.zerodayinitiative.com/advisories/ZDI-23-1152/
- https://lists.debian.org/debian-lts-announce/2023/11/msg00009.html
Affected products (1)
- cpe:2.3:a:rarlab:winrar:*:*:*:*:*:*:*:*
More vulnerabilities in Rarlab Winrar
- CVE-2008-7144 — Critical (CVSS 10.0): Multiple unspecified vulnerabilities in RARLAB WinRAR before 3.71 have unknown impact and attack vectors related to…
- CVE-2004-1254 — Critical (CVSS 10.0): WinRAR 3.40, and possibly earlier versions, allows remote attackers to execute arbitrary code via a ZIP file containing…
- CVE-2004-0234 — Critical (CVSS 10.0): Multiple stack-based buffer overflows in the get_header function in header.c for LHA 1.14, as used in products such as…
- CVE-2006-3845 — Critical (CVSS 9.3): Stack-based buffer overflow in lzh.fmt in WinRAR 3.00 through 3.60 beta 6 allows remote attackers to execute arbitrary…
- CVE-2025-8088 — High (CVSS 8.8): A path traversal vulnerability affecting the Windows version of WinRAR allows the attackers to execute arbitrary code…
- CVE-2025-6218 — High (CVSS 7.8): RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to…
All CVEs affecting Rarlab Winrar →
Other CWE-129 (Improper Validation of Array Index) vulnerabilities
- CVE-2020-27485 — Critical (CVSS 9.9): Garmin Forerunner 235 before 8.20 is affected by: Array index error. The component is: ConnectIQ TVM. The attack vector…
- CVE-2020-27483 — Critical (CVSS 9.9): Garmin Forerunner 235 before 8.20 is affected by: Array index error. The component is: ConnectIQ TVM. The attack vector…
- CVE-2026-21413 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545…
- CVE-2025-27034 — Critical (CVSS 9.8): Memory corruption while selecting the PLMN from SOR failed list.
- CVE-2025-3357 — Critical (CVSS 9.8): IBM Tivoli Monitoring 6.3.0.7 through 6.3.0.7 Service Pack 19 could allow a remote attacker to execute arbitrary code…
- CVE-2024-45569 — Critical (CVSS 9.8): Memory corruption while parsing the ML IE due to invalid frame content.
Browse all CWE-129 (Improper Validation of Array Index) vulnerabilities →