Rpm: rpm: integer overflow in iterreadarchivenext() leads to heap-based buffer overflow when parsing untrusted rpm packages
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 6 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 7 | unaffected | — |
| Red Hat | Red Hat Enterprise Linux 8 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
| Red Hat | Red Hat Hardened Images | affected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unknown | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | unaffected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Enterprise Linux |
|
||||||||
| Red Hat | Enterprise Linux |
|
||||||||
| Redhat | Enterprise Linux |
|
||||||||
| Redhat | Enterprise Linux |
|
||||||||
| Redhat | Hardened Images |
|
||||||||
| Redhat | Hummingbird |
|
||||||||
| Rpm | Rpm |
|
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.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.119% probability within 30 days)
| 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 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openshift Ai
|
|
| CPEs | cpe:/a:redhat:openshift_ai | |
| Vendors & Products |
Redhat openshift Ai
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
|
|
| CPEs | 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
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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
|
cvssV3_1
|