CVE-2026-95520
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 package | Versions | Reported by |
|---|---|---|
| rpm-main | Not specified Not affected: from 6.1.0-1.4.hum1 before * | CVE List |
| rpm | Not specified | CVE List |
| rhoai/odh-ai-gateway-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-dashboard-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-data-science-pipelines-operator-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-llmisvc-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-module-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-kuberay-operator-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kube-rbac-proxy-rhel9 | Not specified | CVE List |
| rhoai/odh-llama-stack-k8s-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-maas-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-mlflow-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-mlflow-rhel9 | Not specified | CVE List |
| rhoai/odh-model-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-model-registry-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-model-serving-api-rhel9 | Not specified | CVE List |
| rhoai/odh-ogx-k8s-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-ogx-module-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-training-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-trustyai-service-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-workbenches-operator-rhel9 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://access.redhat.com/errata/RHSA-2026:98095 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-95520 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2537809 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-95520 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-95520 changed 2026-11-24 | Public domain |