CVE-2026-106065: GIMP heap buffer overflow in PCX export

CVE-2026-106065 · Severity: medium · CVSS 6.3 · Published 2026-10-07

GIMP is a popular open-source image editor that allows users to create and manipulate graphics. When exporting images to PCX format, a flaw in the export plug-in can cause a heap buffer overflow if an image has extremely large dimensions. An attacker who tricks a user into exporting a specially crafted oversized image could crash GIMP, corrupt data, or potentially execute malicious code.

Technologies: GIMP.

Quick answers

Is CVE-2026-106065 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-106065 being exploited in the wild.
How severe is CVE-2026-106065?
Medium severity, with a CVSS score of 6.3, published 7 October 2026.
Which products and versions are affected?
GIMP.
Is there a fix for CVE-2026-106065?
No fixed version is recorded yet. Restrict PCX export functionality to trusted images and enforce reasonable dimension limits on exported images. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-106065 attacked?
It is attacked with local access.
Am I affected by CVE-2026-106065?
Check whether you run GIMP. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Restrict PCX export functionality to trusted images and enforce reasonable dimension limits on exported images.

Technical details

A heap-based buffer overflow exists in GIMP's PCX export plug-in due to 32-bit integer overflow in width × height size calculation. The buffer allocated during export is too small to accommodate the actual pixel data when dimensions are extremely large, while subsequent GEGL operations use the full untruncated extent. The vulnerability requires local access and user interaction to trigger—specifically, the user must initiate export of a sufficiently large image to PCX format.

Affected products

  • GIMP

Timeline

  • 2026-10-07: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.