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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-30 · Modified: 2026-11-24
- Aliases: UBUNTU-CVE-2026-103242, DEBIAN-CVE-2026-103242
- Record: https://cvemate.com/vulnerability/CVE-2026-103242 · JSON: https://cvemate.com/vulnerability/CVE-2026-103242/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.175%, percentile 7.304%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian rpm (Debian): All versions (No fix recorded)
- ubuntu rpm (Ubuntu): All versions (No fix recorded)

## References

- <https://access.redhat.com/security/cve/CVE-2026-103242>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2543866>
- <https://ubuntu.com/security/CVE-2026-103242>
- <https://www.cve.org/CVERecord?id=CVE-2026-103242>
- <https://security-tracker.debian.org/tracker/CVE-2026-103242>
- <https://access.redhat.com/errata/RHSA-2026:98095>

---

Data as of 2026-12-05T03:16:26.138Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
