Heap-based Buffer Overflow in RPM Package Management System by Red Hat
CVE-2026-95520
Key Information:
- Vendor
Red Hat
- Status
- Vendor
- CVE Published:
- 29 September 2026
What is CVE-2026-95520?
A vulnerability exists within the RPM Package Management System that allows for a heap-based buffer overflow. This occurs when an untrusted RPM package with a declared RPMTAG_LONGFILESIZES value of 0xFFFFFFFFFFFFFFFF is processed. The flaw leads to an integer overflow in the iterReadArchiveNext() function, causing a buffer allocation to be reduced to a single byte. Consequently, an attacker can exploit this issue by writing data that exceeds the bounds of the buffer through the payload's independently-controlled cpio filesize field. This vulnerability can be triggered via commands such as rpm2cpio, rpm2archive, and rpm -qlvp when handling untrusted packages.
Affected Version(s)
Red Hat Hardened Images 6.1.0-1.4.hum1
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved