CVE-2026-14191: CWE-787 Out-of-bounds Write in RARLAB WinRAR
An out-of-bounds heap write exists in the RAR5 recovery-volume (.rev) parser in WinRAR and UnRAR (RecVolumes5::ReadHeader in recvol5.cpp). The RecItems vector is sized only when the first .rev file in a set is processed; subsequent .rev files supply an independent RecNum value that is validated against that file's own TotalCount field but never against the actual size of RecItems. A crafted set of two or more .rev files can therefore write an attacker-controlled 32-bit value (the header's RevCRC field) to RecItems[RecNum] at an attacker-controlled offset up to 65534 * sizeof(RecVolItem) bytes past the allocation, corrupting adjacent heap objects. Triggering requires the victim to run a recovery/test operation on an attacker-supplied .rev set (for example 'unrar t x.part1.rev', WinRAR 'Repair archive', or auto-recovery when extracting a volume set with a missing .rar part). This is the RAR5-path sibling of CVE-2023-40477 (which was fixed in the RAR3 path only in WinRAR 6.23). Fixed in WinRAR / RAR 7.23.
AI Analysis
Technical Summary
This vulnerability involves an out-of-bounds heap write in the RecVolumes5::ReadHeader function within the RAR5 recovery-volume (.rev) parser of WinRAR and UnRAR. The issue arises because the RecItems vector is sized only when the first .rev file is processed, but subsequent .rev files use an independent RecNum value validated only against their own TotalCount field, not against the actual size of RecItems. An attacker can supply a crafted set of two or more .rev files to write an attacker-controlled 32-bit value (RevCRC field) to an out-of-bounds index in RecItems, corrupting adjacent heap memory. Triggering the vulnerability requires the victim to run a recovery or test operation on the malicious .rev set, such as using 'unrar t x.part1.rev', the WinRAR 'Repair archive' feature, or auto-recovery during extraction of a volume set with a missing .rar part. This vulnerability is related to CVE-2023-40477 but affects the RAR5 path, whereas the previous CVE affected the RAR3 path. The issue was fixed in WinRAR/RAR version 7.23.
Potential Impact
Successful exploitation can lead to heap corruption, potentially allowing an attacker to execute arbitrary code, cause denial of service, or compromise the integrity and confidentiality of the affected system. The CVSS 3.1 score of 7.8 reflects high impact on confidentiality, integrity, and availability. Exploitation requires local access with user interaction (UI:R) and low attack complexity (AC:L).
Mitigation Recommendations
A fix is available in WinRAR/RAR version 7.23. Users and administrators should update to version 7.23 or later to remediate this vulnerability. Until patched, avoid running recovery or test operations on untrusted or attacker-supplied .rev files. Patch status is not explicitly stated in the input beyond the fix version; verify with the vendor advisory for the latest remediation guidance.
CVE-2026-14191: CWE-787 Out-of-bounds Write in RARLAB WinRAR
Description
An out-of-bounds heap write exists in the RAR5 recovery-volume (.rev) parser in WinRAR and UnRAR (RecVolumes5::ReadHeader in recvol5.cpp). The RecItems vector is sized only when the first .rev file in a set is processed; subsequent .rev files supply an independent RecNum value that is validated against that file's own TotalCount field but never against the actual size of RecItems. A crafted set of two or more .rev files can therefore write an attacker-controlled 32-bit value (the header's RevCRC field) to RecItems[RecNum] at an attacker-controlled offset up to 65534 * sizeof(RecVolItem) bytes past the allocation, corrupting adjacent heap objects. Triggering requires the victim to run a recovery/test operation on an attacker-supplied .rev set (for example 'unrar t x.part1.rev', WinRAR 'Repair archive', or auto-recovery when extracting a volume set with a missing .rar part). This is the RAR5-path sibling of CVE-2023-40477 (which was fixed in the RAR3 path only in WinRAR 6.23). Fixed in WinRAR / RAR 7.23.
CVSS v3.1
Score 7.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an out-of-bounds heap write in the RecVolumes5::ReadHeader function within the RAR5 recovery-volume (.rev) parser of WinRAR and UnRAR. The issue arises because the RecItems vector is sized only when the first .rev file is processed, but subsequent .rev files use an independent RecNum value validated only against their own TotalCount field, not against the actual size of RecItems. An attacker can supply a crafted set of two or more .rev files to write an attacker-controlled 32-bit value (RevCRC field) to an out-of-bounds index in RecItems, corrupting adjacent heap memory. Triggering the vulnerability requires the victim to run a recovery or test operation on the malicious .rev set, such as using 'unrar t x.part1.rev', the WinRAR 'Repair archive' feature, or auto-recovery during extraction of a volume set with a missing .rar part. This vulnerability is related to CVE-2023-40477 but affects the RAR5 path, whereas the previous CVE affected the RAR3 path. The issue was fixed in WinRAR/RAR version 7.23.
Potential Impact
Successful exploitation can lead to heap corruption, potentially allowing an attacker to execute arbitrary code, cause denial of service, or compromise the integrity and confidentiality of the affected system. The CVSS 3.1 score of 7.8 reflects high impact on confidentiality, integrity, and availability. Exploitation requires local access with user interaction (UI:R) and low attack complexity (AC:L).
Mitigation Recommendations
A fix is available in WinRAR/RAR version 7.23. Users and administrators should update to version 7.23 or later to remediate this vulnerability. Until patched, avoid running recovery or test operations on untrusted or attacker-supplied .rev files. Patch status is not explicitly stated in the input beyond the fix version; verify with the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- securin
- Date Reserved
- 2026-06-30T08:32:07.249Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a448b4d27e9c79719e6c5dd
Added to database: 07/01/2026, 03:36:45 UTC
Last enriched: 07/08/2026, 12:52:58 UTC
Last updated: 08/15/2026, 00:41:10 UTC
Views: 482
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.