CVE-2026-95520
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by redhat
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
rpm-mainNot specified
Not affected: from 6.1.0-1.4.hum1 before *
CVE List
rpmNot specifiedCVE List
rhoai/odh-ai-gateway-operator-rhel9Not specifiedCVE List
rhoai/odh-dashboard-operator-rhel9Not specifiedCVE List
rhoai/odh-data-science-pipelines-operator-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-llmisvc-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-module-operator-rhel9Not specifiedCVE List
rhoai/odh-kuberay-operator-controller-rhel9Not specifiedCVE List
rhoai/odh-kube-rbac-proxy-rhel9Not specifiedCVE List
rhoai/odh-llama-stack-k8s-operator-rhel9Not specifiedCVE List
rhoai/odh-maas-controller-rhel9Not specifiedCVE List

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-95520 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-95520 changed 2026-11-24Public domain