CVEfocus › CVE database › CVE-2023-40477

CVE-2023-40477RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution…

CVSS 7.8 HighEPSS 10.0% (higher than 96% of CVEs)Published 2024-05-03Updated 2025-11-04Assigner: zdi

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.

CWE-129

What to do

Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
9Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libclamunrarNot affected
vulnerable_code_not_present
Ubuntu 26.04unrar-nonfreeNot affected
vulnerable_code_not_present
Ubuntu 25.10libclamunrarNot affected
vulnerable_code_not_present
Ubuntu 25.10unrar-nonfreeNot affected
vulnerable_code_not_present
Ubuntu 24.04libclamunrarNot affected
vulnerable_code_not_present
Ubuntu 24.04rarFixed2:6.23-1UBUNTU-CVE-2023-40477
Ubuntu 24.04unrar-nonfreeNot affected
vulnerable_code_not_present
Ubuntu 22.04libclamunrarFixed0.103.11-0ubuntu0.22.04.1UBUNTU-CVE-2023-40477
Ubuntu 22.04rarFixed2:6.23-1~22.04.1UBUNTU-CVE-2023-40477
Ubuntu 22.04unrar-nonfreeFixed1:6.1.5-1ubuntu0.1UBUNTU-CVE-2023-40477
Ubuntu 20.04libclamunrarFixed0.103.11-0ubuntu0.20.04.1UBUNTU-CVE-2023-40477
Ubuntu 20.04rarFixed2:6.23-1~20.04.1UBUNTU-CVE-2023-40477
Ubuntu 20.04unrar-nonfreeFixed1:5.6.6-2ubuntu0.1UBUNTU-CVE-2023-40477
Ubuntu 18.04libclamunrarFix pendingUBUNTU-CVE-2023-40477
Ubuntu 18.04rarFix pendingUBUNTU-CVE-2023-40477
Ubuntu 18.04unrar-nonfreeFix pendingUBUNTU-CVE-2023-40477
Ubuntu 16.04libclamunrarFix pendingUBUNTU-CVE-2023-40477
Ubuntu 16.04rarFix pendingUBUNTU-CVE-2023-40477
Ubuntu 16.04unrar-nonfreeFix pendingUBUNTU-CVE-2023-40477
Ubuntu 14.04libclamunrarFix pending
Ubuntu 14.04rarFix pending
Ubuntu 14.04unrar-nonfreeFix pending
Debian 14libclamunrarFixed1.0.3-1DEBIAN-CVE-2023-40477
Debian 14rarFixed2:6.23-1DEBIAN-CVE-2023-40477
Debian 14unrar-nonfreeFixed1:6.2.10-1DEBIAN-CVE-2023-40477
Debian 13libclamunrarFixed1.0.3-1DEBIAN-CVE-2023-40477
Debian 13rarFixed2:6.23-1DEBIAN-CVE-2023-40477
Debian 13unrar-nonfreeFixed1:6.2.10-1DEBIAN-CVE-2023-40477
Debian 12libclamunrarFixed1.0.3-1~deb12u1DEBIAN-CVE-2023-40477
Debian 12rarFixed2:6.23-1~deb12u1DEBIAN-CVE-2023-40477
Debian 12unrar-nonfreeFixed1:6.2.6-1+deb12u1DEBIAN-CVE-2023-40477

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.