CVE-2026-18300 GIMP HDR File Parsing Integer Overflow Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious HDR files in GIMP due to an integer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-18300?

CVE-2026-18300 is a high-severity vulnerability in Gimp Gimp, published on 20 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GIMP HDR File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of HDR files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29289.

Weakness: CWE-190

Which versions are affected by CVE-2026-18300?

It affects 1 product.

Linux distribution packages (40)
gegl AlmaLinux:8All versions0.2.0-40.el8_10.1
gegl04 AlmaLinux:8All versions0.4.4-7.el8_10.1
gegl04-devel AlmaLinux:8All versions0.4.4-7.el8_10.1
gegl04 AlmaLinux:9All versions0.4.62-1.el9_8.2
gegl04-devel AlmaLinux:9All versions0.4.62-1.el9_8.2
gegl04-devel-docs AlmaLinux:9All versions0.4.62-1.el9_8.2
gegl04-tools AlmaLinux:9All versions0.4.62-1.el9_8.2
gegl Red Hat:enterprise_linux:8::appstreamAll versions0:0.2.0-40.el8_10.1
gegl-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.2.0-40.el8_10.1
gegl-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:0.2.0-40.el8_10.1
gegl04 Red Hat:enterprise_linux:8::appstreamAll versions0:0.4.4-7.el8_10.1
gegl04-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.4.4-7.el8_10.1
gegl04-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:0.4.4-7.el8_10.1
gegl04-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.4.4-7.el8_10.1
gegl04-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:0.4.4-7.el8_10.1
gegl04-debugsource Red Hat:enterprise_linux:8::crbAll versions0:0.4.4-7.el8_10.1
gegl04-devel Red Hat:enterprise_linux:8::crbAll versions0:0.4.4-7.el8_10.1
gegl04-tools-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:0.4.4-7.el8_10.1
gegl04 Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-devel-docs Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-tools Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:0.4.62-1.el9_8.2
gegl04-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.4.62-1.el9_8.2
gegl04-debugsource Red Hat:enterprise_linux:9::crbAll versions0:0.4.62-1.el9_8.2
gegl04-devel Red Hat:enterprise_linux:9::crbAll versions0:0.4.62-1.el9_8.2
gegl04-tools-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:0.4.62-1.el9_8.2
gegl04 Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04-debugsource Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04-devel-docs Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04-tools Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04-tools-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:0.4.34-2.el9_2.2
gegl04 Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2
gegl04-debuginfo Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2
gegl04-debugsource Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2
gegl04-devel-docs Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2
gegl04-tools Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2
gegl04-tools-debuginfo Red Hat:rhel_e4s:9.4::appstreamAll versions0:0.4.34-3.el9_4.2

Products include Gimp Gimp.

How do I fix CVE-2026-18300?

Apply the vendor's patch.

Is CVE-2026-18300 being exploited?

There is no known exploitation of CVE-2026-18300 in the wild and no public exploit code.

All Gimp Gimp vulnerabilities

Sources

Also known as ALSA-2026:62170, ALSA-2026:62420, ALSA-2026:62425, CLSA-2026-1788884096, CLSA-2026-1790586669, DEBIAN-CVE-2026-18300 and 15 more.

Is CVE-2026-18300 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free