Skip to content
Red HatCVE-2026-95520

Red Hat rpm. Parsing a symlink entry: heap buffer overflow

High7.1CVE-2026-95520 · Published Sep 29, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 10
Product
all versionsNo fix yet
Red Hat Enterprise Linux 6
Product
all versionsNo fix yet
Red Hat Enterprise Linux 7
Product
all versionsNo fix yet
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Red Hat Hardened Images
Product
all versionsNo fix yet
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-787

More Red Hat advisories

All Red Hat
Advisory
Red Hat libsoup.: buffer overflow
High8.6Sep 29
Red Hat libsoup.: buffer overflow
High8.6Sep 29
Red Hat libsoup.: buffer overflow
High8.6Sep 29
Red Hat libsoup: out-of-bounds read
High8.2Sep 29
Red Hat libsoup.: type confusion
High8.6Sep 29
Red Hat libsoup.: out-of-bounds read
High8.6Sep 29

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.