CVE-2026-95520
No fix known EPSS <1%CVSS 7.1
A heap-based buffer overflow flaw was found in rpm. Parsing a symlink entry in an untrusted RPM package whose declared RPMTAG_LONGFILESIZES value is 0xFFFFFFFFFFFFFFFF causes an integer overflow in iterReadArchiveNext() that shrinks a buffer allocation to one byte, after which the payload's independently-controlled cpio filesize field is used to write attacker-controlled data past the end of that allocation. This is reachable via rpm2cpio, rpm2archive, and rpm -qlvp on an untrusted package.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Hardened Images
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | rpm | no fix |
| Debian 13 | rpm | no fix |
| Debian 14 | rpm | no fix |
| Ubuntu 22.04 LTS | rpm | no fix |
| Ubuntu 24.04 LTS | rpm | no fix |
| Ubuntu 26.04 LTS | rpm | no fix |
| Ubuntu 26.10 | rpm | no fix |
| Ubuntu Pro 14.04 LTS | rpm | no fix |
| Ubuntu Pro 16.04 LTS | rpm | no fix |
| Ubuntu Pro 18.04 LTS | rpm | no fix |
| Ubuntu Pro 20.04 LTS | rpm | no fix |