Every CVE Search/ Get API key

CVE-2023-38831

RARLabs WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to...

7.8 HighIn KEVPublic exploit

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

99.8%Up 99.8 points since Aug 24, 2023
90%50%10%1%

What each source reports

NVD Score used 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 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.

Record
CVE-2023-38831
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-345, CWE-351
Updated
2026-11-02
CVE List 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 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.

Record
CVE-2023-38831
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-351
Updated
2026-11-02
EUVDEUVD-2023-42604 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 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.

Record
EUVD-2023-42604
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-w5x7-vwr2-4x27 7.8

RARLabs WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to...

RARLabs 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 August 2023.

Record
GHSA-w5x7-vwr2-4x27
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-345, CWE-351
Updated
2026-11-02
CISA KEV No score

RARLAB WinRAR Code Execution Vulnerability

RARLAB WinRAR contains an unspecified vulnerability that allows an attacker to execute code when a user attempts to view a benign file within a ZIP archive.

Record
CVE-2023-38831
Weakness
CWE-351
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitWinRAR CVE-2023-38831 Exploit2023-08-23
PoC in GitHubBoredHackerBlog/winrar_CVE-2023-38831_lazy_poc2023-08-24
PoC in GitHubb1tg/CVE-2023-38831-winrar-exploit2023-08-25
PoC in GitHubGarck3h/cve-2023-388312023-08-27
PoC in GitHubIR-HuntGuardians/CVE-2023-38831-HUNT2023-08-27
PoC in GitHubignis-sec/CVE-2023-38831-RaRCE2023-08-27
PoC in GitHubHDCE-inc/CVE-2023-388312023-08-28
PoC in GitHubMaalfer/CVE-2023-38831_ReverseShell_Winrar-RCE2023-08-28
PoC in GitHubPascalAsch/CVE-2023-38831-KQL2023-08-28
PoC in GitHubahmed-fa7im/CVE-2023-38831-winrar-expoit-simple-Poc2023-08-28
Show 16 moreShow less
Public exploits
SourceLinkDate
PoC in GitHubakhomlyuk/cve-2023-388312023-08-28
PoC in GitHubknight0x07/WinRAR-Code-Execution-Vulnerability-CVE-2023-388312023-08-28
PoC in GitHubML-K-eng/CVE-2023-38831-Exploit-and-Detection2023-08-29
PoC in GitHubthegr1ffyn/CVE-2023-388312023-08-29
PoC in GitHubBen1B3astt/CVE-2023-38831_ReverseShell_Winrar2023-08-30
PoC in GitHubMorDavid/CVE-2023-38831-Winrar-Exploit-Generator-POC2023-08-30
PoC in GitHubsh770/CVE-2023-388312023-08-30
PoC in GitHubsudo-py-dev/CVE-2023-388312023-08-30
PoC in GitHubz3r0sw0rd/CVE-2023-38831-PoC2023-08-30
PoC in GitHubMich-ele/CVE-2023-38831-winrar2023-09-01
PoC in GitHubFa1c0n35/CVE-2023-38831-winrar-exploit2023-09-03
PoC in GitHubasepsaepdin/CVE-2023-388312023-09-03
PoC in GitHubxaitax/WinRAR-CVE-2023-388312023-09-03
PoC in GitHubGOTonyGO/CVE-2023-38831-winrar2023-09-07
PoC in GitHubMalwareman007/CVE-2023-388312023-09-12
PoC in GitHubameerpornillos/CVE-2023-38831-WinRAR-Exploit2023-09-12

Plus 35 more. The full list has every link.

History

History
RecordedChangedSources
exploits_morePoC in GitHub
exploits_morePoC in GitHub
exploitation
exploits, exploits_more
first indexedCVE List, EUVD, GitHub Advisories, CISA KEV, Metasploit, NVD, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-38831 is a high vulnerability (CVSS 7.8) in Rarlab Winrar, published August 23, 2023. CISA lists it as known to be exploited, since August 24, 2023. EUVD reports exploitation since August 24, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 99.8%, the 99th percentile. No source names a fixed version.

References

MoveEnter Open