← All Advisories
Reported from OT-Advisories.com as of

rpm Parses Crafted Symlink Entry with Overflow RPMTAG_LONGFILESIZES, Shrinking the Allocation to One Byte and Triggering Out-of-Bounds Write

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-95520

Key Details

CVECVE-2026-95520
CVSS Score / Version
7.1 (High) / CVSS v3.1
Updated2026-09-29
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is none; integrity impact is high; availability impact is high.
Affected products
Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, and Red Hat Hardened Images
Classified as
CWE-787 (Out-of-bounds Write)
Exploitation prediction (EPSS)
0.18% probability of exploitation in the next 30 days (7% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Hardened Images
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat's web page for any future patch releases.

https://access.redhat.com/security/security-updates/

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-95520
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-95520
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.