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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RARLAB | WinRAR | < 7.23 | 7.23 |
| RARLAB | RAR | < 7.23 | 7.23 |
| RARLAB | UnRAR | ≤ 7.21 | — |
| RARLAB | UnRAR.dll | < 7.23 | 7.23 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rar | 2:7.23-1 | — |
| Debian 14 | unrar-nonfree | 1:7.2.7-1 | — |
| Debian 13 | rar +1 | No fix yet | — |
| Debian 12 | rar +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | unrar-nonfree | No fix yet | — |
| Ubuntu 26.04 LTS | unrar-nonfree | No fix yet | — |
| Ubuntu 25.10 | unrar-nonfree | No fix yet | — |
| Ubuntu 24.04 LTS | unrar-nonfree | No fix yet | — |
| Ubuntu 22.04 LTS | unrar-nonfree | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | unrar-nonfree | No fix yet | — |
| Ubuntu 18.04 LTS | unrar-nonfree | No fix yet | — |
| Ubuntu 16.04 LTS | unrar-nonfree | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
HORKimhab/CVE-2026-14191 ★ 0 · Jul 7, 2026
CVE-2026-14191 - Draft
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-2152 win.rar WinRAR: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jul 14, 2026