GIMP TIF Parsing Stack-Buffer Overflow RCE
CVE-2026-18303 Published on August 20, 2026

GIMP TIF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
GIMP TIF File Parsing Stack-based Buffer 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 TIF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29399.

Vendor Advisory NVD

Weakness Type

What is a Stack Overflow Vulnerability?

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

CVE-2026-18303 has been classified to as a Stack Overflow vulnerability or weakness.


Products Associated with CVE-2026-18303

Want to know whenever a new CVE is published for Gimp? stack.watch will email you.

 

Affected Versions

GIMP Version 3.2.2 is affected by CVE-2026-18303