GIMP XWD File Parsing Heap-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 XWD files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27823.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade pygtk2-docUpgrade pygtk2-codegenUpgrade python2-cairo-develUpgrade gimp-devel-toolsUpgrade gimpUpgrade pygobject2Upgrade pygobject2-docUpgrade pygtk2-develUpgrade gimp-libsUpgrade pygobject2-codegenUpgrade python2-cairoUpgrade pygtk2Upgrade gimp-develUpgrade pygobject2-devel | Dec 2, 2025 | Nov 24, 2025 |
| Amazon Linux Ami 2 | — | Upgrade gimp-devel-toolsUpgrade gimpUpgrade gimp-debuginfoUpgrade gimp-develUpgrade gimp-libs | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade gimp | Nov 5, 2025 | Nov 5, 2025 |
| Gentoo Linux | — | Upgrade media-gfx/gimp. | Jan 27, 2026 | Jan 26, 2026 |
| Oracle_linux | — | Upgrade python2-cairo-develUpgrade pygtk2-develUpgrade gimpUpgrade pygobject2Upgrade pygobject2-develUpgrade gimp-devel-toolsUpgrade gimp-develUpgrade pygobject2-docUpgrade pygtk2-codegenUpgrade pygobject2-codegenUpgrade pygtk2Upgrade pygtk2-docUpgrade python2-cairoUpgrade gimp-libs | Nov 28, 2025 | Oct 29, 2025 |
| Redhat_linux | — | Upgrade pygtk2-debuginfoUpgrade gimp-debuginfoUpgrade gimp-libsUpgrade pygtk2-docUpgrade python2-cairo-debuginfoUpgrade pygtk2-develUpgrade pygtk2Upgrade gimp-libs-debuginfoNo solution existsUpgrade gimp-debugsourceUpgrade python2-cairoUpgrade pygobject2-debuginfoUpgrade pygtk2-codegenUpgrade gimp-devel-tools-debuginfoUpgrade pygobject2-docUpgrade pygobject2-codegenUpgrade python2-cairo-develUpgrade pygobject2-develUpgrade python2-pycairo-debugsourceUpgrade pygobject2-debugsourceUpgrade gimpUpgrade gimp-devel-toolsUpgrade gimp-develUpgrade pygtk2-debugsourceUpgrade pygobject2 | Nov 25, 2025 | Oct 29, 2025 |
| Rocky_linux | — | Upgrade gimp-debuginfoUpgrade gimp-libsUpgrade pygtk2-debugsourceUpgrade pygtk2-codegenUpgrade python2-cairo-develUpgrade pygobject2-debugsourceUpgrade gimpUpgrade gimp-develUpgrade pygobject2-debuginfoUpgrade gimp-devel-toolsUpgrade pygtk2Upgrade pygobject2Upgrade pygtk2-debuginfoUpgrade pygobject2-docUpgrade gimp-debugsourceUpgrade pygtk2-develUpgrade gimp-devel-tools-debuginfoUpgrade python2-pycairo-debugsourceUpgrade gimp-libs-debuginfoUpgrade python2-cairo-debuginfoUpgrade pygobject2-develUpgrade pygobject2-codegenUpgrade python2-cairo | Feb 5, 2026 | Dec 2, 2025 |
| Ubuntu | — | Upgrade gimp (Ubuntu Pro)Upgrade libgimp2.0 (Ubuntu Pro)Upgrade libgimp2.0t64 (Ubuntu Pro) | Mar 9, 2026 | Mar 4, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub