cve.bz

CVE-2023-40477 rarlab winrar: Improper Validation of Array Index

7.8 highEPSS 10%

High (7.8) in rarlab winrar. EPSS 10% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
10% (unchanged from 10% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-129 Improper Validation of Array Index
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-40477 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40477?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40477?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40477 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rarlab:winrarbefore 6.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libclamunrar0.103.10-0+deb10u1DLA-3653-1
Debian10rar2:6.23-1~deb10u1DLA-3543-1
Debian10unrar-nonfree1:5.6.6-1+deb10u4DLA-3542-1
Debian12libclamunrar1.0.3-1~deb12u1DEBIAN-CVE-2023-40477
Debian12rar2:6.23-1~deb12u1DEBIAN-CVE-2023-40477
Debian12unrar-nonfree1:6.2.6-1+deb12u1DEBIAN-CVE-2023-40477
Debian13, 14libclamunrar1.0.3-1DEBIAN-CVE-2023-40477
Debian13, 14rar2:6.23-1DEBIAN-CVE-2023-40477
Debian13, 14unrar-nonfree1:6.2.10-1DEBIAN-CVE-2023-40477
Ubuntu16.04:LTS, 18.04:LTSrar, libclamunrar, unrar-nonfreeno fix listedUBUNTU-CVE-2023-40477
Ubuntu20.04:LTSlibclamunrar0.103.11-0ubuntu0.20.04.1UBUNTU-CVE-2023-40477 USN-6569-1
Ubuntu20.04:LTSrar2:6.23-1~20.04.1UBUNTU-CVE-2023-40477 USN-7349-1
Ubuntu20.04:LTSunrar-nonfree1:5.6.6-2ubuntu0.1UBUNTU-CVE-2023-40477 USN-7350-1
Ubuntu22.04:LTSlibclamunrar0.103.11-0ubuntu0.22.04.1UBUNTU-CVE-2023-40477 USN-6569-1
Ubuntu22.04:LTSrar2:6.23-1~22.04.1UBUNTU-CVE-2023-40477 USN-7349-1
Ubuntu22.04:LTSunrar-nonfree1:6.1.5-1ubuntu0.1UBUNTU-CVE-2023-40477 USN-7350-1
Ubuntu24.04:LTSrar2:6.23-1UBUNTU-CVE-2023-40477
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 moreclamav0.103.11-150000.3.50.1SUSE-SU-2023:4415-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5clamav0.103.11-3.30.1SUSE-SU-2023:4297-1
openSUSELeap 15.4, Leap 15.5clamav0.103.11-150000.3.50.1SUSE-SU-2023:4415-1
openSUSETumbleweedclamav0.103.11-2.1openSUSE-SU-2024:13394-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON