Red HatCVE-2026-95520
Red Hat rpm. Parsing a symlink entry: heap buffer overflow
High7.1CVE-2026-95520 · Published Sep 29, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 8 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 9 Product | all versions | No fix yet |
| Red Hat Hardened Images Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-787
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 29 | Red Hat libsoup.: buffer overflow | High8.6 | No fix yet |
| Sep 29 | Red Hat libsoup.: buffer overflow | High8.6 | No fix yet |
| Sep 29 | Red Hat libsoup.: buffer overflow | High8.6 | No fix yet |
| Sep 29 | Red Hat libsoup: out-of-bounds read | High8.2 | No fix yet |
| Sep 29 | Red Hat libsoup.: type confusion | High8.6 | No fix yet |
| Sep 29 | Red Hat libsoup.: out-of-bounds read | High8.6 | No fix yet |