Skip to content
OpenAdvisories
High · 7.1 CVE-2026-103242 EUVD-2026-89790GHSA-446c-w894-m822

Rpm: heap-based buffer overflow write in hex2binv() via a mistyped rpmtag_filesignatures header tag

Published Sep 30, 2026 · Updated Nov 13, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rpm No fix yet —
Debian 13 rpm No fix yet —
Debian 12 rpm No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rpm No fix yet —
Ubuntu 26.04 LTS rpm No fix yet —
Ubuntu 24.04 LTS rpm No fix yet —
Ubuntu 22.04 LTS rpm No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rpm No fix yet —
Ubuntu Pro 18.04 LTS rpm No fix yet —
Ubuntu Pro 16.04 LTS rpm No fix yet —
Ubuntu Pro 14.04 LTS rpm No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 rpm +19 6.1.0-1.4.hum1 RHSA-2026:98095

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rpm +16 4.16.1.3-29.amzn2023.0.9 ALAS2023-2026-3398

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rpm No fix yet —

Advisories 3

References