Description
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.
Published: 2026-11-02
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

A heap buffer overflow exists in the xpmtoppm conversion tool of Netpbm, triggered by a lack of validation on the characters-per-pixel field in the XPM header. When an attacker supplies an XPM file whose declared characters-per-pixel value exceeds three, the program writes past the fixed three‑byte array used for colorName hash entries. The overflow can cause a crash or, if exploited skillfully, execution of arbitrary code. The weakness is classified as CWE‑787.

Affected Systems

The vulnerability affects Netpbm releases prior to 10.86.51, 11.02.30, and 11.15.08. Users running any of these versions on any platform that employs the xpmtoppm utility for processing XPM images are potentially impacted.

Risk and Exploitability

The CVSS score of 8.5 denotes high severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Attackers must supply a crafted XPM file to trigger the overflow, so exploitation requires either local access to the target system or a context where untrusted XPM files are processed (e.g., image viewer, editor, or web application).

Generated by OpenCVE AI on November 2, 2026 at 15:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Netpbm to a version that includes the xpmtoppm fix (10.86.51 or newer for the 10.x series, 11.02.30 or newer for the 11.02.x branch, and 11.15.08 or newer for the 11.15.x branch).
  • If an immediate upgrade is not possible, restrict xpmtoppm execution to trusted users or run the utility in a sandboxed environment to contain potential code execution.
  • Validate the characters‑per‑pixel field in incoming XPM files or reject any file declaring a value greater than three before passing it to xpmtoppm.

Generated by OpenCVE AI on November 2, 2026 at 15:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 14:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Netpbm before 10.86.51, 11.02.30, and 11.15.08 Heap Overflow in xpmtoppm
First Time appeared Netpbm Project
Netpbm Project netpbm
Weaknesses CWE-787
CPEs cpe:2.3:a:netpbm_project:netpbm:*:*:*:*:*:*:*:*
Vendors & Products Netpbm Project
Netpbm Project netpbm
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Netpbm Project Netpbm
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T14:28:58.499Z

Reserved: 2026-11-02T12:42:13.861Z

Link: CVE-2026-120435

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-02T15:17:25.277

Modified: 2026-11-02T19:14:53.030

Link: CVE-2026-120435

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T16:00:09Z

Weaknesses