CVE-2023-40477

RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability

CVE-2023-40477 is fixed in 8 products on 2 platforms, first by WinRAR 6.23.0, released August 2, 2023. It is not reported as exploited. Patch Radar priority: High.

HighFixed on 2 platforms
CVSS
7.8
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.1062
95th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
WinRAR 6.23.0 WinRAR 6.23.0 Aug 2, 2023
Linux
libclamunrar · Debian 12.15 (bookworm) 1.0.3-1~deb12u1 DEBIAN-CVE-2023-40477 May 3, 2024
libclamunrar · Debian 13.5 (trixie) 1.0.3-1 DEBIAN-CVE-2023-40477 May 3, 2024
libclamunrar · Debian 14 1.0.3-1 DEBIAN-CVE-2023-40477 May 3, 2024
libclamunrar · Ubuntu 22.04.1 LTS (jammy) 0.103.11-0ubuntu0.22.04.1 libclamunrar 0.103.11-0ubuntu0.22.04.1 Aug 24, 2023
libclamunrar9 · Ubuntu 20.04 LTS (focal) 0.103.11-0ubuntu0.20.04.1 libclamunrar9 0.103.11-0ubuntu0.20.04.1 Aug 24, 2023
libclamunrar9 · Ubuntu 22.04.1 LTS (jammy) 0.103.11-0ubuntu0.22.04.1 libclamunrar9 0.103.11-0ubuntu0.22.04.1 Aug 24, 2023
libunrar-headers · Ubuntu 22.04.1 LTS (jammy) 1:6.1.5-1ubuntu0.1 libunrar-headers 1:6.1.5-1ubuntu0.1 Apr 28, 2024
libunrar5 · Ubuntu 20.04 LTS (focal) 1:5.6.6-2ubuntu0.1 libunrar5 1:5.6.6-2ubuntu0.1 Apr 28, 2024
libunrar5 · Ubuntu 22.04.1 LTS (jammy) 1:6.1.5-1ubuntu0.1 libunrar5 1:6.1.5-1ubuntu0.1 Apr 28, 2024
rar · Debian 12.15 (bookworm) 2:6.23-1~deb12u1 DEBIAN-CVE-2023-40477 May 3, 2024
rar · Debian 13.5 (trixie) 2:6.23-1 DEBIAN-CVE-2023-40477 May 3, 2024
rar · Debian 14 2:6.23-1 DEBIAN-CVE-2023-40477 May 3, 2024
rar · Ubuntu 20.04 LTS (focal) 2:6.23-1~20.04.1 rar 2:6.23-1~20.04.1 Aug 24, 2023
rar · Ubuntu 22.04.1 LTS (jammy) 2:6.23-1~22.04.1 rar 2:6.23-1~22.04.1 Aug 24, 2023
rar · Ubuntu 24.04.5 LTS (noble) 2:6.23-1 rar 2:6.23-1 Aug 24, 2023
rar · Ubuntu 24.10 (oracular) 2:6.23-1 rar 2:6.23-1 Aug 25, 2023
rar · Ubuntu 25.04 (plucky) 2:6.23-1 rar 2:6.23-1 Aug 25, 2023
unrar · Ubuntu 20.04 LTS (focal) 1:5.6.6-2ubuntu0.1 unrar 1:5.6.6-2ubuntu0.1 Apr 28, 2024
unrar · Ubuntu 22.04.1 LTS (jammy) 1:6.1.5-1ubuntu0.1 unrar 1:6.1.5-1ubuntu0.1 Apr 28, 2024
unrar-nonfree · Debian 12.15 (bookworm) 1:6.2.6-1+deb12u1 DEBIAN-CVE-2023-40477 May 3, 2024
unrar-nonfree · Debian 13.5 (trixie) 1:6.2.10-1 DEBIAN-CVE-2023-40477 May 3, 2024
unrar-nonfree · Debian 14 1:6.2.10-1 DEBIAN-CVE-2023-40477 May 3, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.