home / blog
2026-11-23 · high
CVE-2023-38831 in WinRAR: Arbitrary Code Execution Vulnerability
CVE-2023-38831: WinRAR vulnerability allows code execution via ZIP archives

CVE-2023-38831 is a critical vulnerability in WinRAR versions prior to 6.23 that allows attackers to execute arbitrary code when a user attempts to view a file within a ZIP archive. The attack exploits a feature that allows both a benign file and a folder with the same name to exist within the archive, enabling execution of the folder's contents when trying to access the file.
The vulnerability has a CVSS score of 7.8, classified as high severity. It was officially published on August 23, 2023, and actively exploited in the wild from April to October of the same year. According to detected signals, there are public repositories that claim to contain research dedicated to this vulnerability.
To protect yourself from this vulnerability, it is essential to immediately update WinRAR to version 6.23 or later. Additionally, it is recommended to avoid opening ZIP archives from untrusted sources, especially if they contain files and folders with similar names. It is also important to apply security policies to limit the execution of untrusted content.
At a glance
- What
- Vulnerability in WinRAR that allows arbitrary code execution when a user views files in ZIP archives
- Severity
- High (CVSS 7.8)
- Affected versions
- WinRAR before version 6.23
- Fix
- Update to version 6.23 or later
- Status
- Published on 08/23/2023, exploited in the wild from April to October 2023
- Action
- Update immediately to version 6.23 or later
Sources: NVD, CVE-2023-38831