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

High 7.1 Published Updated

A heap-based buffer overflow in rpm allows attackers to execute arbitrary code or cause denial of service via a crafted RPM package.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-103242?

CVE-2026-103242 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 30 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-122

Which versions are affected by CVE-2026-103242?

How do I fix CVE-2026-103242?

No fix has been published for CVE-2026-103242 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-103242 being exploited?

There is no known exploitation of CVE-2026-103242 in the wild and no public exploit code.

Sources

Also known as AZL-105810, DEBIAN-CVE-2026-103242, ECHO-345e-0640-d812, GHSA-446c-w894-m822, UBUNTU-CVE-2026-103242.

Is CVE-2026-103242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free