CVE-2026-95520: Out-of-bounds Write in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
A heap-based buffer overflow was identified in the rpm package parser used in Red Hat Enterprise Linux 10. The vulnerability arises when parsing a symlink entry in an untrusted RPM package whose RPMTAG_LONGFILESIZES value is set to 0xFFFFFFFFFFFFFFFF. This triggers an integer overflow in the iterReadArchiveNext() function, shrinking the buffer allocation to a single byte. Subsequently, the cpio filesize field, controlled by the attacker, is used to write data beyond the allocated buffer, causing a heap overflow. This flaw can be exploited locally by running rpm2cpio, rpm2archive, or rpm -qlvp on crafted untrusted RPM packages. The flaw is not exposed via network services and requires user interaction to trigger. Red Hat classifies the issue as Moderate due to the local and user-involved nature of exploitation, despite the high CVSS score reflecting potential integrity and availability impacts.
Potential Impact
Successful exploitation can lead to heap-based buffer overflow, allowing an attacker to write beyond allocated memory. This can result in modification of memory, potentially leading to unauthorized code execution or commands, and denial of service through crashes or restarts. The vulnerability affects integrity and availability but does not impact confidentiality. Exploitation is local and requires user interaction to process a crafted RPM package.
Mitigation Recommendations
Red Hat advises avoiding processing or extracting RPM packages from untrusted sources. Specifically, do not use rpm2cpio, rpm2archive, or rpm -qlvp on RPM files whose origin and integrity cannot be verified. No official patch or fix is currently confirmed; therefore, users should rely on these mitigations until a vendor fix is released. Check the Red Hat advisory for updates on patch availability.
CVE-2026-95520: Out-of-bounds Write in Red Hat Red Hat Enterprise Linux 10
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.
CVSS v3.1
Score 7.1high
Affected software
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 Hardened Images
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A heap-based buffer overflow was identified in the rpm package parser used in Red Hat Enterprise Linux 10. The vulnerability arises when parsing a symlink entry in an untrusted RPM package whose RPMTAG_LONGFILESIZES value is set to 0xFFFFFFFFFFFFFFFF. This triggers an integer overflow in the iterReadArchiveNext() function, shrinking the buffer allocation to a single byte. Subsequently, the cpio filesize field, controlled by the attacker, is used to write data beyond the allocated buffer, causing a heap overflow. This flaw can be exploited locally by running rpm2cpio, rpm2archive, or rpm -qlvp on crafted untrusted RPM packages. The flaw is not exposed via network services and requires user interaction to trigger. Red Hat classifies the issue as Moderate due to the local and user-involved nature of exploitation, despite the high CVSS score reflecting potential integrity and availability impacts.
Potential Impact
Successful exploitation can lead to heap-based buffer overflow, allowing an attacker to write beyond allocated memory. This can result in modification of memory, potentially leading to unauthorized code execution or commands, and denial of service through crashes or restarts. The vulnerability affects integrity and availability but does not impact confidentiality. Exploitation is local and requires user interaction to process a crafted RPM package.
Mitigation Recommendations
Red Hat advises avoiding processing or extracting RPM packages from untrusted sources. Specifically, do not use rpm2cpio, rpm2archive, or rpm -qlvp on RPM files whose origin and integrity cannot be verified. No official patch or fix is currently confirmed; therefore, users should rely on these mitigations until a vendor fix is released. Check the Red Hat advisory for updates on patch availability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-22T08:44:44.967Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-95520","vendor":"Red Hat"}]
Threat ID: 6abba201f7a7c541064e095d
Added to database: 09/29/2026, 11:33:21 UTC
Last enriched: 09/29/2026, 11:47:41 UTC
Last updated: 09/29/2026, 18:20:13 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.