---
title: "CVE-2026-103242"
canonical_url: "https://pkgseek.com/security/CVE-2026-103242"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-103242

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.

CVE-2026-103242 is rated HIGH (7.1), with 10 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.1)
- **Affected builds**: 10
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | librpm10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmbuild10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpm-dev | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmio10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | librpmsign10 | 4.20.1+dfsg-3 | — |
| Debian | trixie | python3-rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm2cpio | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-common | 4.20.1+dfsg-3 | — |
| Debian | trixie | rpm-i18n | 4.20.1+dfsg-3 | — |
