BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-38831 in Rarlab Winrar

Known-exploited (CISA) since 2023-08-24 High 7.8 Public exploit reported

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 f...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS29.0%
EPSS percentile99th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Rarlab Winrar < 6.23

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2023-08-24
Public exploitReported · reference

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-38831
BreachSpider IDBS-2023-GLOBAL-006738-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2023-08-23
Last modified2026-08-05
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-345: CWE-345

CWE-351: CWE-351

Related attack patterns (CAPEC)

CAPEC-142 DNS Cache Poisoning via CWE-345

CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345

CAPEC-388 Application API Button Hijacking via CWE-345

Show all 12

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345

CAPEC-141 Cache Poisoning via CWE-345

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345

CAPEC-386 Application API Navigation Remapping via CWE-345

CAPEC-701 Browser in the Middle (BiTM) via CWE-345

CAPEC-148 Content Spoofing via CWE-345

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-38831 affects RARLAB WinRAR versions prior to 6.23, allowing attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. This vulnerability has been exploited in the wild and is listed in the KEV catalog with a high EPSS score, indicating a significant risk.

The vulnerability arises from the way WinRAR processes ZIP archives. If a ZIP archive contains both a benign file (e.g., a .JPG) and a folder with the same name, the contents of the folder (which can include malicious executables) are processed when the user attempts to access the benign file. This can lead to arbitrary code execution on the user's system.

Compensating controls AI-drafted, review before use

Implement strict file type and content inspection for ZIP archives, especially those containing files with the same names as directories. Enforce user training to avoid opening suspicious files and use up-to-date antivirus solutions.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-38831?

CVE-2023-38831 affects RARLAB WinRAR versions prior to 6.23, allowing attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. This vulnerability has been exploited in the wild and is listed in the KEV catalog with a high EPSS score, indicating a significant risk.

What is the CVSS score for CVE-2023-38831?

CVE-2023-38831 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 29.0%.

Is CVE-2023-38831 actively exploited?

Yes. CVE-2023-38831 is in the CISA known-exploited catalog (added 2023-08-24). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2023-38831?

Priority: IMMEDIATE.

What systems are affected by CVE-2023-38831?

CVE-2023-38831 affects Rarlab Winrar.

What NERC-CIP standard applies to CVE-2023-38831?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to critical cyber assets through the exploitation of a vulnerability in WinRAR, which could compromise the integrity and availability of the system.

What IEC 62443 requirement maps to CVE-2023-38831?

IEC 62443 SR 7.6: This CVE maps to SR 7.6, which requires the implementation of secure software development practices to prevent vulnerabilities that could allow unauthorized access or code execution, such as the one described in CVE-2023-38831.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rarlab","product":"Winrar","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-05.