Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | — | — |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | — | — |
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 | rpm | No fix yet | — |
| Debian 13 | rpm | No fix yet | — |
| Debian 12 | rpm | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rpm | No fix yet | — |
| Ubuntu 26.04 LTS | rpm | No fix yet | — |
| Ubuntu 24.04 LTS | rpm | No fix yet | — |
| Ubuntu 22.04 LTS | rpm | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | rpm | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rpm | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rpm | No fix yet | — |
| Ubuntu Pro 14.04 LTS | rpm | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | rpm +16 | 4.16.1.3-29.amzn2023.0.10 | ALAS2023-2026-3430 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rpm | No fix yet | — |
Advisories 2
- WID-SEC-2026-3643 RPM: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Nov 12, 2026
- ALAS2023-2026-3430 Important: rpm security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 12, 2026
References
- RHSA-2026:98095 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-95520 vdb-entry
- RHBZ#2537809 issue-tracking