Rpm: heap-based buffer overflow write in hex2binv() via a mistyped rpmtag_filesignatures header tag
- CVE-2026-103242
- GHSA-446c-w894-m822
- EUVD-2026-89790
Description
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 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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 6
No versions listed
Red Hat Red Hat Enterprise Linux 7
No versions listed
Red Hat Red Hat Enterprise Linux 8
No versions listed
Red Hat Red Hat Enterprise Linux 9
No versions listed
Red Hat Red Hat Hardened Images
Affected versions Fixed in from 6.1.0-1.4.hum1 onwards: not affected none stated Red Hat Red Hat OpenShift AI (RHOAI)
No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.