Netpbmのxpmtoppmで細工されたXPMファイルによりヒープ領域があふれ、プログラムを実行される脆弱性
Summary
Netpbmのxpmtoppmで、XPMファイルのヘッダーに含まれる1ピクセルあたりの文字数が検証されず、ヒープ領域があふれる脆弱性が見つかりました。細工されたファイルを読み込ませると、異常終了や任意のコードを実行される可能性があります。10.86.51、11.02.30、11.15.08以降の修正版への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Netpbmのxpmtoppmで、XPMファイルのヘッダーに含まれる1ピクセルあたりの文字数が検証されず、ヒープ領域があふれる脆弱性が見つかりました。細工されたファイルを読み込ませると、異常終了や任意のコードを実行される可能性があります。10.86.51、11.02.30、11.15.08以降の修正版への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| NetpbmNetpbm |
< 10.86.51→ 10.86.51 ≥ 11.0, < 11.02.30→ 11.02.30 ≥ 11.03, < 11.15.08→ 11.15.08 |
10.86.51 11.02.30 11.15.08 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-120435 netpbm-free Fix available
- Ubuntu UBUNTU-CVE-2026-120435 netpbm-free No fixed version in this record
Original description The description as published by the source.
Netpbm before 10.86.51, 11.x before 11.02.30, and 11.03 before 11.15.08 contains a heap buffer overflow in xpmtoppm caused by an unvalidated characters-per-pixel value in the XPM header. Attackers can supply a crafted XPM file with characters-per-pixel greater than 3 to overrun fixed 3-byte colorName hash entries, causing crashes or potentially code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory