CVE-2023-40477RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libclamunrar | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | unrar-nonfree | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libclamunrar | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | unrar-nonfree | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libclamunrar | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rar | Fixed | 2:6.23-1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 24.04 | unrar-nonfree | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libclamunrar | Fixed | 0.103.11-0ubuntu0.22.04.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 22.04 | rar | Fixed | 2:6.23-1~22.04.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 22.04 | unrar-nonfree | Fixed | 1:6.1.5-1ubuntu0.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 20.04 | libclamunrar | Fixed | 0.103.11-0ubuntu0.20.04.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 20.04 | rar | Fixed | 2:6.23-1~20.04.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 20.04 | unrar-nonfree | Fixed | 1:5.6.6-2ubuntu0.1 | UBUNTU-CVE-2023-40477 |
| Ubuntu 18.04 | libclamunrar | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 18.04 | rar | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 18.04 | unrar-nonfree | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 16.04 | libclamunrar | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 16.04 | rar | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 16.04 | unrar-nonfree | Fix pending | UBUNTU-CVE-2023-40477 | |
| Ubuntu 14.04 | libclamunrar | Fix pending | ||
| Ubuntu 14.04 | rar | Fix pending | ||
| Ubuntu 14.04 | unrar-nonfree | Fix pending | ||
| Debian 14 | libclamunrar | Fixed | 1.0.3-1 | DEBIAN-CVE-2023-40477 |
| Debian 14 | rar | Fixed | 2:6.23-1 | DEBIAN-CVE-2023-40477 |
| Debian 14 | unrar-nonfree | Fixed | 1:6.2.10-1 | DEBIAN-CVE-2023-40477 |
| Debian 13 | libclamunrar | Fixed | 1.0.3-1 | DEBIAN-CVE-2023-40477 |
| Debian 13 | rar | Fixed | 2:6.23-1 | DEBIAN-CVE-2023-40477 |
| Debian 13 | unrar-nonfree | Fixed | 1:6.2.10-1 | DEBIAN-CVE-2023-40477 |
| Debian 12 | libclamunrar | Fixed | 1.0.3-1~deb12u1 | DEBIAN-CVE-2023-40477 |
| Debian 12 | rar | Fixed | 2:6.23-1~deb12u1 | DEBIAN-CVE-2023-40477 |
| Debian 12 | unrar-nonfree | Fixed | 1:6.2.6-1+deb12u1 | DEBIAN-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.
- RARLAB WinRAR: affected: 6.21
Vendor advisories:
- https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf795… (vendor-advisory)
References
- https://www.zerodayinitiative.com/advisories/ZDI-23-1152/
- https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa
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.