CVE-2023-38831: RARLAB WinRAR Code Execution Vulnerability
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.
| Source | Entry | Published |
|---|---|---|
| Metasploit | WinRAR CVE-2023-38831 Exploit | |
| Exploit-DB | RARLAB WinRAR 6.22 - Remote Code Execution (RCE) via ZIP archive | 28 March 2024 |
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
- Find every copy. List each place RARLAB WinRAR runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
- 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
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-6218 | RARLAB WinRAR | No public exploit found | 98.8% | 21 June 2025 |
| CVE-2025-8088 | RARLAB WinRAR | Ransomware | 94.3% | 8 August 2025 |
| CVE-2022-30333 | RARLAB UnRAR | Ransomware Public exploit | 99.2% | 9 May 2022 |
| CVE-2018-20250 | RARLAB WinRAR | Ransomware Public exploit | 96.0% | 5 February 2019 |
Sources
- CVE record for CVE-2023-38831
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- www.group-ib.com
- www.bleepingcomputer.com
- news.ycombinator.com
- packetstormsecurity.com
- blog.google
Machine-readable: /api/cve/CVE-2023-38831.json