CVE-2023-38831: RARLAB WinRAR Code Execution Vulnerability

Published Aug 23, 2023
·
Updated

RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.

Other sources

RARLAB WinRAR contains an unspecified vulnerability that allows an attacker to execute code when a user attempts to view a benign file within a ZIP archive.

CISA

RARLabs WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.

Affected Software

2 affected components
RARLAB WinRAR<6.23
RARLAB WinRAR

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WinRAR to a version that resolves this vulnerability.

    Fixed in 6.23
  2. Remove

    Remove WinRAR from your environment.

    Discontinue use of the product (uninstall WinRAR) if vendor mitigations are unavailable.

Event History

Aug 23, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
News Published
via BleepingComputer·01:53 PM
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Aug 24, 2023
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Nov 19, 2023
News Published
04:14 PM
Dec 6, 2023
News Published
12:15 AM
Feb 13, 2024
News Published
via BleepingComputer·03:41 PM
News Published
via BleepingComputer·03:43 PM
News Published
via BleepingComputer·08:52 PM
Feb 14, 2024
News Published
via The Register·01:47 AM
News Published
via The Register·01:51 AM
Dec 11, 2024
News Published
via BleepingComputer·05:00 PM
Feb 25, 2025
News Published
via The Register·11:00 AM
May 21, 2025
News Published
via The Register·07:16 PM
Aug 11, 2025
News Published
via The Register·07:08 PM
Jun 9, 2026
News Published
via Dark Reading·03:37 PM
News Published
via Dark Reading·03:59 PM

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 CVE-2023-38831?

CVE-2023-38831 is a code execution vulnerability in RARLAB WinRAR software.

2

How does CVE-2023-38831 work?

CVE-2023-38831 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive.

3

What is the severity of CVE-2023-38831?

CVE-2023-38831 has a severity rating of 7.8, which is considered high.

4

Which software is affected by CVE-2023-38831?

RARLAB WinRAR versions up to and including 6.23 are affected by CVE-2023-38831.

5

How can I fix CVE-2023-38831?

To fix CVE-2023-38831, update to a version of RARLAB WinRAR that is higher than 6.23.

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