CVE-2023-38831
RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within…
Also known as EDB-51935
Mitigation
- Upgrade winrar to 6.23 or later.
Who should check
- Anyone running n/a (versions: see the vendor advisory)
- Anyone running rarlab winrar < 6.23
Vulnerability facts
- Affected
- n/a; rarlab winrar < 6.23
- Fixed in
- rarlab winrar 6.23
- Exploited in the wild
- Yes: in CISA KEV since 2023-08-24; federal due date 2023-09-14; known ransomware use
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 29.00% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-345, CWE-351
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| n/a | — | — | nvd |
| rarlab winrar | < 6.23 | — | nvd |
Timeline
- 2023-08-23 Published
- 2023-08-24 Added to CISA KEV (exploited in the wild)
- 2023-09-14 CISA remediation due date for US federal agencies
- 2026-11-23 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-38831. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-38831.md Affected: n/a; rarlab winrar < 6.23 Fixed in: rarlab winrar 6.23 Steps: 1. Search this machine and project for n/a, rarlab winrar: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Exploits and PoCs
- https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/
- https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-trading-accounts/
- http://packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.html
- https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability/
- https://www.exploit-db.com/exploits/51935
FAQ
Is CVE-2023-38831 being exploited?
Yes. CISA lists CVE-2023-38831 in its Known Exploited Vulnerabilities catalog since 2023-08-24, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 29.00% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-38831?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-38831?
n/a; rarlab winrar < 6.23.
Is there a fix for CVE-2023-38831?
Yes. Fixed in rarlab winrar 6.23. Upgrade winrar to 6.23 or later.
How do I check if I'm affected by CVE-2023-38831?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.