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

Published Aug 17, 2023
·
Updated

Last updated 12 March 2025

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
debian/libclamunrar
0.103.10-1~deb11u11.0.3-1~deb11u11.0.3-1~deb12u11.3.1-1
debian/rar
2:6.23-1~deb11u12:6.23-1~deb12u12:7.11-1
debian/unrar-nonfree
1:6.0.3-1+deb11u31:6.2.6-1+deb12u11:7.1.6-1
RARLAB WinRAR<6.23

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libclamunrar to a version that resolves this vulnerability.

    Fixed in 0.103.10-1~deb11u1Fixed in 1.0.3-1~deb11u1Fixed in 1.0.3-1~deb12u1Fixed in 1.3.1-1
  2. Upgrade

    Upgrade debian/rar to a version that resolves this vulnerability.

    Fixed in 2:6.23-1~deb11u1Fixed in 2:6.23-1~deb12u1Fixed in 2:7.11-1
  3. Upgrade

    Upgrade debian/unrar-nonfree to a version that resolves this vulnerability.

    Fixed in 1:6.0.3-1+deb11u3Fixed in 1:6.2.6-1+deb12u1Fixed in 1:7.1.6-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ZDI-CAN-21233

Event History

Aug 17, 2023
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Aug 23, 2023
News Published
via BleepingComputer·01:53 PM
May 3, 2024
CVE Published
via MITRE·02:11 AM
Data Sourced
via MITRE·02:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Jun 27, 2024
News Published
via BleepingComputer·06:59 PM
Mar 16, 2025
Data Sourced
via Ubuntu·09:40 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:41 PM
Description
Jun 6, 2025
Known Exploited
01:21 AM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-40477?

The severity of CVE-2023-40477 is classified as critical due to the potential for remote code execution.

2

How do I fix CVE-2023-40477?

To fix CVE-2023-40477, update WinRAR to the latest version or apply available patches from RARLAB.

3

What software is affected by CVE-2023-40477?

CVE-2023-40477 affects RARLAB WinRAR and specific versions of libclamunrar and rar packages on Ubuntu and Debian.

4

What kind of attack exploits CVE-2023-40477?

CVE-2023-40477 can be exploited through specially crafted RAR files, requiring user interaction to execute the malicious code.

5

Is user interaction required to exploit CVE-2023-40477?

Yes, user interaction is required to exploit CVE-2023-40477, as the attacker must trick the user into opening a crafted RAR file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203