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.

Project Subscriptions

Vendors Products
Red Hat Subscribe
Enterprise Linux Subscribe
Enterprise Linux Subscribe
Hardened Images Subscribe
Hummingbird Subscribe
Openshift Ai Subscribe
Rhel Els Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

To reduce exposure, avoid processing or extracting RPM packages from untrusted sources. Do not use `rpm2cpio`, `rpm2archive`, or `rpm -qlvp` on RPM files whose origin and integrity cannot be verified.

History

Fri, 13 Nov 2026 13:45:00 +0000

Type Values Removed Values Added
References

Tue, 10 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Rpm
Rpm rpm
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Rpm
Rpm rpm

Fri, 06 Nov 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat openshift Ai

Fri, 06 Nov 2026 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els

Tue, 29 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
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.
Title Rpm: rpm: integer overflow in iterreadarchivenext() leads to heap-based buffer overflow when parsing untrusted rpm packages
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-787
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

threat_severity

Moderate


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-13T13:33:52.132Z

Reserved: 2026-09-22T08:44:44.967Z

Link: CVE-2026-95520

cve-icon Vulnrichment

Updated: 2026-09-29T13:17:50.012Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-29T12:17:12.650

Modified: 2026-11-13T14:18:24.717

Link: CVE-2026-95520

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-29T10:54:13Z

Links: CVE-2026-95520 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-10T22:45:02Z

Weaknesses