CVE-2026-106063: Gimp: gimp: heap buffer overflow in dicom export on oversized image dimensions

Published Oct 6, 2026
·
Updated

A heap-based buffer overflow was found in GIMP’s DICOM export plug-in. When exporting an image with extremely large width and height, the export path allocates a buffer using a 32-bit width height (and bytes-per-pixel) product that can overflow. GEGL then writes the full uncompressed extent into the undersized buffer, after integer overflow in the allocation size

Other sources

Finding 3. plug-ins/common/file-dicom.c, exportimage() (~1649–1652). Wrapped width height bpp allocation; GEGL write exceeds buffer. SIGSEGV/ASan WRITE. Vector: export to DICOM on very large image (multi‑GB scale), not a small malicious download alone. CVSS tentative: AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H (6.3).

— Red Hat

Affected Software

5 affected componentsFixes available
GIMP GIMP
debian/gimp*
debian/gimp*
debian/gimp<3.2.8-1
3.2.8-1
debian/gimp<=2.10.34-1+deb12u10, <=3.0.4-3+deb13u10, <=3.0.4-3+deb13u11
3.2.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gimp to a version that resolves this vulnerability.

    Fixed in 3.2.8-1

Event History

Oct 6, 2026
Data Sourced
via Red Hat·04:35 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·07:34 PM
Data Sourced
via MITRE·07:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·08:17 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Users who export extremely large, multi-gigabyte-scale images to DICOM are exposed. The issue is local and requires user interaction with the export operation; a small malicious download alone is not sufficient.

2

What conditions are required to trigger the overflow?

An attacker or user must cause GIMP to export an image with width and height large enough for the 32-bit width × height × bytes-per-pixel allocation calculation to overflow. GEGL must then write the image's full uncompressed extent into the resulting undersized buffer.

3

How can I reduce risk if I cannot patch immediately?

Avoid exporting extremely large images to DICOM, particularly multi-gigabyte-scale uncompressed image data. Keep image dimensions and resulting pixel-buffer sizes below values that could overflow a 32-bit allocation-size calculation.

4

How would exploitation or a failed trigger appear?

The described behavior can produce a heap buffer overflow during DICOM export, including a segmentation fault or an AddressSanitizer out-of-bounds write report. The affected code path is the DICOM export plug-in's export_image() function in plug-ins/common/file-dicom.c.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203