{"id":"CVE-2023-38831","aliases":["EUVD-2023-42604","GHSA-w5x7-vwr2-4x27"],"status":"published","title":"RARLabs WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.99815,"percentile":0.99959,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":false},"cwes":["CWE-345","CWE-351"],"published":"2023-08-23T00:00:00Z","modified":"2026-08-05T05:16:38Z","kev":{"date_added":"2023-08-24","due_date":"2023-09-14","required_action":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","known_ransomware_use":"Known"},"exploitation":[{"source":"euvd","since":"2023-08-24"},{"source":"kev","since":"2023-08-24"}],"exploits":[{"source":"metasploit","id":"exploit/windows/fileformat/winrar_cve_2023_38831","title":"WinRAR CVE-2023-38831 Exploit","type":"exploit","platform":"Windows","date":"2023-08-23","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/windows/fileformat/winrar_cve_2023_38831"},{"source":"pocgithub","id":"BoredHackerBlog/winrar_CVE-2023-38831_lazy_poc","title":"BoredHackerBlog/winrar_CVE-2023-38831_lazy_poc","date":"2023-08-24","url":"https://github.com/BoredHackerBlog/winrar_CVE-2023-38831_lazy_poc"},{"source":"pocgithub","id":"b1tg/CVE-2023-38831-winrar-exploit","title":"b1tg/CVE-2023-38831-winrar-exploit","date":"2023-08-25","url":"https://github.com/b1tg/CVE-2023-38831-winrar-exploit"},{"source":"pocgithub","id":"Garck3h/cve-2023-38831","title":"Garck3h/cve-2023-38831","date":"2023-08-27","url":"https://github.com/Garck3h/cve-2023-38831"},{"source":"pocgithub","id":"IR-HuntGuardians/CVE-2023-38831-HUNT","title":"IR-HuntGuardians/CVE-2023-38831-HUNT","date":"2023-08-27","url":"https://github.com/IR-HuntGuardians/CVE-2023-38831-HUNT"},{"source":"pocgithub","id":"ignis-sec/CVE-2023-38831-RaRCE","title":"ignis-sec/CVE-2023-38831-RaRCE","date":"2023-08-27","url":"https://github.com/ignis-sec/CVE-2023-38831-RaRCE"},{"source":"pocgithub","id":"HDCE-inc/CVE-2023-38831","title":"HDCE-inc/CVE-2023-38831","date":"2023-08-28","url":"https://github.com/HDCE-inc/CVE-2023-38831"},{"source":"pocgithub","id":"Maalfer/CVE-2023-38831_ReverseShell_Winrar-RCE","title":"Maalfer/CVE-2023-38831_ReverseShell_Winrar-RCE","date":"2023-08-28","url":"https://github.com/Maalfer/CVE-2023-38831_ReverseShell_Winrar-RCE"},{"source":"pocgithub","id":"PascalAsch/CVE-2023-38831-KQL","title":"PascalAsch/CVE-2023-38831-KQL","date":"2023-08-28","url":"https://github.com/PascalAsch/CVE-2023-38831-KQL"},{"source":"pocgithub","id":"ahmed-fa7im/CVE-2023-38831-winrar-expoit-simple-Poc","title":"ahmed-fa7im/CVE-2023-38831-winrar-expoit-simple-Poc","date":"2023-08-28","url":"https://github.com/ahmed-fa7im/CVE-2023-38831-winrar-expoit-simple-Poc"},{"source":"pocgithub","id":"akhomlyuk/cve-2023-38831","title":"akhomlyuk/cve-2023-38831","date":"2023-08-28","url":"https://github.com/akhomlyuk/cve-2023-38831"},{"source":"pocgithub","id":"knight0x07/WinRAR-Code-Execution-Vulnerability-CVE-2023-38831","title":"knight0x07/WinRAR-Code-Execution-Vulnerability-CVE-2023-38831","date":"2023-08-28","url":"https://github.com/knight0x07/WinRAR-Code-Execution-Vulnerability-CVE-2023-38831"},{"source":"pocgithub","id":"ML-K-eng/CVE-2023-38831-Exploit-and-Detection","title":"ML-K-eng/CVE-2023-38831-Exploit-and-Detection","date":"2023-08-29","url":"https://github.com/ML-K-eng/CVE-2023-38831-Exploit-and-Detection"},{"source":"pocgithub","id":"thegr1ffyn/CVE-2023-38831","title":"thegr1ffyn/CVE-2023-38831","date":"2023-08-29","url":"https://github.com/thegr1ffyn/CVE-2023-38831"},{"source":"pocgithub","id":"Ben1B3astt/CVE-2023-38831_ReverseShell_Winrar","title":"Ben1B3astt/CVE-2023-38831_ReverseShell_Winrar","date":"2023-08-30","url":"https://github.com/Ben1B3astt/CVE-2023-38831_ReverseShell_Winrar"},{"source":"pocgithub","id":"MorDavid/CVE-2023-38831-Winrar-Exploit-Generator-POC","title":"MorDavid/CVE-2023-38831-Winrar-Exploit-Generator-POC","date":"2023-08-30","url":"https://github.com/MorDavid/CVE-2023-38831-Winrar-Exploit-Generator-POC"},{"source":"pocgithub","id":"sh770/CVE-2023-38831","title":"sh770/CVE-2023-38831","date":"2023-08-30","url":"https://github.com/sh770/CVE-2023-38831"},{"source":"pocgithub","id":"sudo-py-dev/CVE-2023-38831","title":"sudo-py-dev/CVE-2023-38831","date":"2023-08-30","url":"https://github.com/sudo-py-dev/CVE-2023-38831"},{"source":"pocgithub","id":"z3r0sw0rd/CVE-2023-38831-PoC","title":"z3r0sw0rd/CVE-2023-38831-PoC","date":"2023-08-30","url":"https://github.com/z3r0sw0rd/CVE-2023-38831-PoC"},{"source":"pocgithub","id":"Mich-ele/CVE-2023-38831-winrar","title":"Mich-ele/CVE-2023-38831-winrar","date":"2023-09-01","url":"https://github.com/Mich-ele/CVE-2023-38831-winrar"},{"source":"pocgithub","id":"Fa1c0n35/CVE-2023-38831-winrar-exploit","title":"Fa1c0n35/CVE-2023-38831-winrar-exploit","date":"2023-09-03","url":"https://github.com/Fa1c0n35/CVE-2023-38831-winrar-exploit"},{"source":"pocgithub","id":"asepsaepdin/CVE-2023-38831","title":"asepsaepdin/CVE-2023-38831","date":"2023-09-03","url":"https://github.com/asepsaepdin/CVE-2023-38831"},{"source":"pocgithub","id":"xaitax/WinRAR-CVE-2023-38831","title":"xaitax/WinRAR-CVE-2023-38831","date":"2023-09-03","url":"https://github.com/xaitax/WinRAR-CVE-2023-38831"},{"source":"pocgithub","id":"GOTonyGO/CVE-2023-38831-winrar","title":"GOTonyGO/CVE-2023-38831-winrar","date":"2023-09-07","url":"https://github.com/GOTonyGO/CVE-2023-38831-winrar"},{"source":"pocgithub","id":"Malwareman007/CVE-2023-38831","title":"Malwareman007/CVE-2023-38831","date":"2023-09-12","url":"https://github.com/Malwareman007/CVE-2023-38831"},{"source":"pocgithub","id":"ameerpornillos/CVE-2023-38831-WinRAR-Exploit","title":"ameerpornillos/CVE-2023-38831-WinRAR-Exploit","date":"2023-09-12","url":"https://github.com/ameerpornillos/CVE-2023-38831-WinRAR-Exploit"}],"exploits_more":35,"products":[{"vendor":"rarlab","product":"winrar"}],"references":[{"url":"https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day/","tags":["x_transferred","Exploit","Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-trading-accounts/","tags":["x_transferred","Exploit","Press/Media Coverage","Third Party Advisory"]},{"url":"https://news.ycombinator.com/item?id=37236100","tags":["x_transferred","Issue Tracking"]},{"url":"http://packetstormsecurity.com/files/174573/WinRAR-Remote-Code-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability/","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-38831","tags":["government-resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38831"},{"url":"https://blog.google/threat-analysis-group/government-backed-actors-exploiting-winrar-vulnerability"},{"url":"https://www.bleepingcomputer.com/news/security/winrar-zero-day-exploited-since-april-to-hack-trading-accounts"},{"url":"https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day"},{"url":"https://github.com/advisories/GHSA-w5x7-vwr2-4x27"}],"sources":{"cve":[{"id":"CVE-2023-38831","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.","status":"published","published":"2023-08-23T00:00:00Z","modified":"2026-08-05T03:55:55.112Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-351"],"updated_at":"2026-11-02T14:35:29.772612Z"}],"euvd":[{"id":"EUVD-2023-42604","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.","status":"published","published":"2023-08-23T00:00:00Z","modified":"2026-08-05T03:55:55Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"exploited_since":"2023-08-24","updated_at":"2026-11-02T18:02:22.516769Z"}],"ghsa":[{"id":"GHSA-w5x7-vwr2-4x27","title":"RARLabs WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to...","description":"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.","status":"published","published":"2023-08-23T18:30:34Z","modified":"2025-10-22T00:32:49Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-345","CWE-351"],"updated_at":"2026-11-02T15:04:06.493434Z"}],"kev":[{"id":"CVE-2023-38831","title":"RARLAB WinRAR Code Execution Vulnerability","description":"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.","cwes":["CWE-351"],"kev":{"date_added":"2023-08-24","due_date":"2023-09-14","required_action":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","known_ransomware_use":"Known"},"updated_at":"2026-11-02T17:00:16.234141Z"}],"nvd":[{"id":"CVE-2023-38831","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.","status":"published","published":"2023-08-23T17:15:43.863Z","modified":"2026-08-05T05:16:38.58Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-345","CWE-351"],"updated_at":"2026-11-02T14:08:25.025396Z"}]}}
