CVE-2026-18303: GIMP TIF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Jul 29, 2026
·
Updated

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.

Affected Software

2 affected components
GIMP GIMP
GIMP GIMP=3.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Mitigate exploitability by preventing users from opening untrusted/malicious files or visiting untrusted pages (user interaction is required to exploit this GIMP TIF parsing remote code execution vulnerability).

  2. Compensating control

    Harden against remote code execution attempts by restricting GIMP usage to trusted workflows (e.g., block or quarantine untrusted TIF files before opening).

Event History

Jul 29, 2026
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Aug 20, 2026
CVE Published
via MITRE·04:23 PM
Data Sourced
via MITRE·04:23 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:54 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What must an attacker do to exploit this issue?

The attacker must persuade a user to visit a malicious page or open a malicious TIF file. Exploitation occurs when GIMP parses attacker-controlled TIF data.

2

What level of access does successful exploitation provide?

Successful exploitation can execute arbitrary code in the context of the current GIMP process. The vulnerability has high impacts on confidentiality, integrity, and availability.

3

How can exposure be reduced if an update cannot be applied immediately?

Avoid opening untrusted TIF files and avoid visiting pages that may cause GIMP to process attacker-provided TIF content. User interaction is required for exploitation.

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