CVE-2023-38831
RARLAB WinRAR Code Execution Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2023-08-23
- Last modified
- 2026-08-05
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
97.8 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2023-08-24, with a remediation deadline of 2023-09-14 for US federal agencies.
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Rarlab | Winrar | < 6.23 | Affected |
Weakness type
-
CWE-345: Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
-
CWE-351: Insufficient Type Distinction
The product does not properly distinguish between different types of elements in a way that leads to insecure behavior.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1211: Exploitation for Stealth
- T1491: Defacement
- T1542.002: Component Firmware
- T1556: Modify Authentication Process
- T1557.002: ARP Cache Poisoning
- T1584.002: DNS Server
References
- http://packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.html
- https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vuln…
- https://news.ycombinator.com/item?id=37236100
- https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-h…
- https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/
- http://packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.html
- https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vuln…
- https://news.ycombinator.com/item?id=37236100
- https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-h…
- https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-38831
Related at Berigo
Articles
-
Attackers use LinkedIn messages to plant remote access trojans
Same product
2026-01-22
ReliaQuest describes a campaign where senior figures are lured into opening a self-extracting archive that installs a RAT via DLL sideloading.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.