CVE-2026-106063

Gimp: gimp: heap buffer overflow in dicom export on oversized image dimensions

Published Oct 6, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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

Analysis

AI-generated

Technical impact

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, causing memory corruption that could lead to application crashes or unintended behavior.

Affected Systems

The flaw affects GIMP installations bundled with Red Hat Enterprise Linux 6 through 10, including Red Hat Enterprise Linux 6, 7, 8, 9 and 10. Any system running these distributions and allowing image export to DICOM is vulnerable.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, and the EPSS score of < 1% indicates a very low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. The attack is likely to require access to a process that performs a DICOM export, such as a local application or a service that accepts user‑supplied images. Because the CVE description does not confirm any remote exploitation mechanism, the risk is considered limited to local or privileged contexts, though memory corruption could still impact application stability.

Remediation

Vendor Workaround

To mitigate this avoid exporting untrusted or unnecessarily huge images to DICOM; cap image dimensions in workflows that process third-party content. Use checked multiplication and maximum dimension limits in custom automation that drives GIMP export.


OpenCVE Recommended Actions

  • Upgrade GIMP to the latest patched version that mitigates the buffer overflow
  • Implement strict image‑dimension checks in any workflow that exports to DICOM, capping width and height to safe limits and using checked multiplication
  • Avoid exporting untrusted or extremely large images to DICOM whenever possible
  • If an upgrade is not immediately possible, apply the workaround of limiting dimensions and validating the multiplication before allocation as described by the vendor

Generated by OpenCVE AI on October 8, 2026 at 09:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
Description 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 (CWE-787), after integer overflow in the allocation size 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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 (CWE-787), after integer overflow in the allocation size
Title Gimp: gimp: heap buffer overflow in dicom export on oversized image dimensions
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-119
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 3:53 PM
Reserved
Oct 6, 2026, 2:27 PM
Status
Awaiting Analysis
Published
Oct 6, 2026, 8:17 PM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM