draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2023-38831: RARLAB WinRAR Code Execution Vulnerability

Exploited in attacksRansomware usePublic exploit code

Yes. CVE-2023-38831 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 24 August 2023. It is known to have been used in ransomware campaigns. Public exploit code is available: 1 Metasploit module and 1 Exploit-DB entry. EPSS puts the chance of further exploitation attempts in the next 30 days at 99.9%.

Exploited in real attacks
Yes. On CISA's exploited list since 24 August 2023
Used in ransomware
Yes, known ransomware use
Public exploit code
1 Metasploit module and 1 Exploit-DB entry
Chance of exploitation (EPSS)
99.9% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
7.8 High (version 3.1)
Affects
RARLAB WinRAR
Type of flaw
Insufficient Type Distinction (CWE-351)
Published
23 August 2023
US federal patch deadline
14 September 2023

What it is

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.

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.

Description from the CVE record.

Is CVE-2023-38831 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2023-38831 on 24 August 2023. That was 1 day after the CVE was published. CISA also marks it as known to be used in ransomware campaigns.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

What to do

CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place RARLAB WinRAR runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume low-skill attackers can use it. A Metasploit module exists, which packages the attack into a standard tool.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in WinRAR. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in RARLAB products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-6218RARLAB WinRARNo public exploit found98.8%21 June 2025
CVE-2025-8088RARLAB WinRARRansomware94.3%8 August 2025
CVE-2022-30333RARLAB UnRARRansomware Public exploit99.2%9 May 2022
CVE-2018-20250RARLAB WinRARRansomware Public exploit96.0%5 February 2019

Sources

Machine-readable: /api/cve/CVE-2023-38831.json