GIMP PNM 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 PNM 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-28273.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade gimp-devel-toolsUpgrade python2-cairoUpgrade pygobject2-docUpgrade pygtk2-develUpgrade gimpUpgrade pygobject2-codegenUpgrade pygtk2-docUpgrade pygtk2-codegenUpgrade gimp-develUpgrade gimp-libsUpgrade pygtk2Upgrade pygobject2Upgrade pygobject2-develUpgrade python2-cairo-devel | Jan 27, 2026 | Jan 21, 2026 |
| Amazon Linux Ami 2 | — | Upgrade gimp-develUpgrade gimp-devel-toolsUpgrade gimp-libsUpgrade gimpUpgrade gimp-debuginfo | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade gimp | Jan 5, 2026 | Jan 5, 2026 |
| Oracle_linux | — | Upgrade gimp-devel-toolsUpgrade pygtk2-develUpgrade pygobject2-develUpgrade pygtk2Upgrade pygobject2-codegenUpgrade pygobject2-docUpgrade gimp-develUpgrade python2-cairoUpgrade gimp-libsUpgrade pygtk2-codegenUpgrade pygtk2-docUpgrade pygobject2Upgrade gimpUpgrade python2-cairo-devel | Jan 23, 2026 | Dec 23, 2025 |
| Redhat_linux | — | Upgrade gimpUpgrade gimp-debuginfoUpgrade pygobject2-develUpgrade gimp-libs-debuginfoUpgrade gimp-develUpgrade gimp-devel-tools-debuginfoUpgrade pygobject2Upgrade python2-cairoUpgrade gimp-debugsourceUpgrade gimp-libsUpgrade pygtk2-debuginfoNo solution existsUpgrade pygtk2Upgrade gimp-devel-toolsUpgrade pygtk2-docUpgrade python2-cairo-debuginfoUpgrade pygtk2-codegenUpgrade python2-pycairo-debugsourceUpgrade pygobject2-debugsourceUpgrade pygobject2-codegenUpgrade pygtk2-debugsourceUpgrade python2-cairo-develUpgrade pygobject2-debuginfoUpgrade pygtk2-develUpgrade pygobject2-doc | Jan 22, 2026 | Dec 23, 2025 |
| Rocky_linux | — | Upgrade python2-cairoUpgrade gimpUpgrade pygobject2-debugsourceUpgrade pygobject2-develUpgrade pygtk2-codegenUpgrade pygtk2-debugsourceUpgrade gimp-devel-toolsUpgrade gimp-libs-debuginfoUpgrade python2-cairo-develUpgrade pygobject2Upgrade gimp-libsUpgrade gimp-devel-tools-debuginfoUpgrade gimp-develUpgrade gimp-debuginfoUpgrade python2-cairo-debuginfoUpgrade gimp-debugsourceUpgrade pygtk2-develUpgrade pygobject2-debuginfoUpgrade pygtk2Upgrade pygobject2-docUpgrade pygtk2-debuginfoUpgrade python2-pycairo-debugsourceUpgrade pygobject2-codegen | Jan 26, 2026 | Jan 22, 2026 |
| 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