CVE-2026-95520

Public on 2026-09-29
Modified on 2026-10-01
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.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
7.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Mock2 Extra compat-rpm-411 Pending Fix
Amazon Linux 2 - Core rpm Pending Fix
Amazon Linux 2 - Mock2 Extra rpm Pending Fix
Amazon Linux 2023 rpm Pending Fix
Amazon Linux 2027 Preview rpm Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H