Skip to content
Threat Brief

← All advisories

CVE-2026-95520

High 7.1No known exploitationFix available

Rpm: rpm: integer overflow in iterreadarchivenext() leads to heap-based buffer overflow when parsing untrusted rpm packages

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 7% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-787

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
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. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Microsoftazl3 rpm 4.18.2-2 on Azure Linux 3.0Not documentedNot documentedMicrosoft MSRC
Red HatRed Hat Enterprise Linux 10Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Hardened Images (unaffected)6.1.0-1.4.hum1Not documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat OpenShift AI (RHOAI) (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references