Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-14191 EUVD-2026-40869GHSA-5hjj-fvq6-8j36

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

Published Jul 1, 2026 · Updated Jul 9, 2026 · Assigned by securin

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

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

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References