A heap-based buffer overflow flaw was found in rpm. (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.
AI Analysis
Technical Summary
CVE-2026-103242 describes a heap-based buffer overflow in rpm. The vulnerability arises when RPMTAG_FILESIGNATURES in the main header of a crafted, unsigned RPM package is declared with the wrong header type. This leads the hex2binv() function to allocate only a one-byte buffer but then write attacker-controlled, hex-decoded content beyond this allocation. The flaw is reachable through rpm2cpio, rpm2archive, and rpm -qlvp when processing untrusted RPM packages.
Potential Impact
The vulnerability allows an attacker to cause a heap-based buffer overflow, potentially leading to arbitrary code execution or denial of service when processing malicious RPM packages. The CVSS score of 7.1 (high) reflects the potential for high impact on integrity and availability, though exploitation requires local access and user interaction.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted RPM packages with rpm2cpio, rpm2archive, or rpm -qlvp.
A heap-based buffer overflow flaw was found in rpm. (CVE-2026-103242)
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.
CVSS v3.1
Score 7.1high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-103242 describes a heap-based buffer overflow in rpm. The vulnerability arises when RPMTAG_FILESIGNATURES in the main header of a crafted, unsigned RPM package is declared with the wrong header type. This leads the hex2binv() function to allocate only a one-byte buffer but then write attacker-controlled, hex-decoded content beyond this allocation. The flaw is reachable through rpm2cpio, rpm2archive, and rpm -qlvp when processing untrusted RPM packages.
Potential Impact
The vulnerability allows an attacker to cause a heap-based buffer overflow, potentially leading to arbitrary code execution or denial of service when processing malicious RPM packages. The CVSS score of 7.1 (high) reflects the potential for high impact on integrity and availability, though exploitation requires local access and user interaction.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted RPM packages with rpm2cpio, rpm2archive, or rpm -qlvp.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-446c-w894-m822
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-103242"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abd30722a4e24523d33ff45
Added to database: 09/30/2026, 15:53:22 UTC
Last enriched: 09/30/2026, 15:54:59 UTC
Last updated: 10/01/2026, 05:06:24 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.