CVE-2023-38831: RARLAB WinRAR Code Execution Vulnerability
CVE-2023-38831 is a high-severity flaw (CVSS 7.8) affecting winrar, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 th
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-08-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: b1tg/CVE-2023-38831-winrar-exploit (781 stars)
- GitHub PoC: Garck3h/cve-2023-38831 (127 stars)
- GitHub PoC: ignis-sec/CVE-2023-38831-RaRCE (113 stars)
- Write-up: blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability
- Write-up: www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-tradi
- GitHub PoC: 80r1ng/CVE-2023-38831-EXP
- GitHub PoC: Ahmed1Al/CVE-2023-38831-winrar-exploit
- Exploit-DB: RARLAB WinRAR 6.22 - Remote Code Execution (RCE) via ZIP archive
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-38831?
winrar: upgrade to 6.23. Exact commands for each OS are on this page.
Is CVE-2023-38831 being exploited?
Yes. CVE-2023-38831 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2023-38831 affect?
CVE-2023-38831 affects winrar. Severity is high (CVSS 7.8). 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
How urgent is CVE-2023-38831?
Priority 87/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference
Software pages
Related CVEs
- CVE-2025-52331 MEDIUM 6.1 DOWNGRADE Cross-site scripting (XSS) vulnerability in the generate report functionality in Rarlab WinRAR 7.11, allows at
- CVE-2018-20250 HIGH 7.8 EXPLOITED UPGRADE WinRAR Absolute Path Traversal Vulnerability
- CVE-2025-8088 HIGH 8.8 EXPLOITED UPGRADE UPGRADE RARLAB WinRAR Path Traversal Vulnerability
- CVE-2019-25677 MEDIUM 6.2 UPGRADE WinRAR 5.61 contains a denial of service vulnerability that allows local attackers to crash the application by
- CVE-2025-6218 HIGH 7.8 EXPLOITED UPGRADE RARLAB WinRAR Path Traversal Vulnerability