CVE-2023-38831: RARLAB WinRAR Code Execution
RARLAB WinRAR · listed in the CISA catalog of actively exploited vulnerabilities since 2023-08-24.
- CVSS v3.1 (CISA ADP)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 99.8%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2023-08-24
- US federal due date 2023-09-14
- Automatable (CISA SSVC)
- no
- technical impact: total
CVE-2023-38831 explained
CVE-2023-38831 is a code execution vulnerability in RARLAB WinRAR before 6.23. A ZIP archive can contain a benign file and a folder with the same name, and opening the benign file causes the folder's contents, which may be executable, to be processed. It was exploited in the wild from April through October 2023 and is listed in CISA's Known Exploited Vulnerabilities catalog.
Impact
An attacker can run arbitrary code on a user's system when that user opens a seemingly harmless file, such as a .JPG, inside a crafted ZIP archive. No privileges are needed, but user interaction is required. CISA rates the technical impact as total and the vulnerability as not automatable. Confidentiality, integrity and availability impacts are all high. CISA reports known use in ransomware campaigns.
Who is affected
The CVE record lists RARLAB WinRAR versions before 6.23 (< 6.23) as affected. These ranges come from CISA's CPE-based enrichment. The CVE record names no fixed version. Because affected versions are those below 6.23, check the vendor advisory to confirm the fixed release before updating.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Affected and fixed versions
Version ranges from CISA's enrichment of the CVE record (CPE-based); the record itself lists none.
- rarlab winrarAffectedFixed in
- < 6.23
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
| Product | Affected | Fixed in |
|---|---|---|
| rarlab winrarVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: win-rar.com/singlenewsview.html
- CISA's deadline for US federal agencies: 2023-09-14 (passed) – a useful benchmark for everyone else, too.
What to do
- Identify all systems with WinRAR installed and record their versions.
- Update WinRAR to a release confirmed fixed in the vendor advisory; versions before
6.23are affected. - Apply mitigations per vendor instructions, as CISA requires, or discontinue use if mitigations are unavailable.
- Warn users not to open archives from untrusted sources, especially unexpected ZIP files.
- Check systems that opened untrusted archives with older WinRAR versions for signs of compromise.
The CVE record names no fixed version, but only versions before 6.23 are listed as affected. Follow the vendor advisory to confirm the fixed release. CISA requires applying mitigations per vendor instructions or discontinuing use if mitigations are unavailable. Until updated, avoid opening untrusted archives with WinRAR.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-351 Insufficient Type Distinction
Questions about CVE-2023-38831
- Is CVE-2023-38831 being exploited?
- Yes. The description states it was exploited in the wild from April through October 2023. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-08-24 and reports known ransomware use.
- Can it be exploited without user action?
- No. A user must open a file inside a crafted ZIP archive. CISA rates it as not automatable, but the technical impact is total.
- What was the federal deadline?
- CISA set a due date of 2023-09-14 for US federal agencies to apply vendor mitigations or discontinue use of the product.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.