{"id":"CVE-2026-103242","title":"A heap-based buffer overflow flaw was found in rpm","summary":"A heap-based buffer overflow flaw was found in rpm. RPMTAG_FILESIGNATURES in a crafted, unsigned RPM package's main header is declared with the wrong header type, causing hex2binv() to allocate a one-byte buffer and then write the tag's …","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","cwe":["CWE-122"],"vendor":"Red Hat","product":"rpm","affected":["rpm (all versions)","rpm","rpm","rpm (all versions)","rpm (all versions)","rpm (all versions)"],"published":"2026-09-30","updated":"2026-09-30","sourceUpdated":"2026-09-30T12:17:12.653","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-103242","references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-103242","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543866","label":"secalert@redhat.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-30T12:02:58.586Z","slug":"CVE-2026-103242","body":"## Overview\n\nA heap-based buffer overflow flaw was found in rpm. RPMTAG_FILESIGNATURES in a crafted, unsigned RPM package's main header is declared with the wrong header type, causing hex2binv() to allocate a one-byte buffer and then write the tag's attacker-controlled, hex-decoded content — of attacker-chosen length — past the end of that allocation. This is reachable via rpm2cpio, rpm2archive, and rpm -qlvp on an untrusted package.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}