CVE-2026-95520
High 7.1No known exploitationFix availableRpm: rpm: integer overflow in iterreadarchivenext() leads to heap-based buffer overflow when parsing untrusted rpm packages
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 rpm 4.18.2-2 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images (unaffected) | 6.1.0-1.4.hum1 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- RHSA-2026:98095 (opens in a new tab)vendor-advisory, x_refsource_redhat
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-95520 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2537809 (opens in a new tab)issue-tracking, x_refsource_redhat