Integer overflow in Gimp - CVE-2025-14422
Published: December 18, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the load_image() function in plug-ins/common/file-pnm.c when parsing PNM files. A remote attacker can trick the victim into opening a specially crafted file, trigger an integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python2-cairo
python2-cairo-devel
gimp (Ubuntu package)
gimp-libs
gimp
gimp-devel
gimp-devel-tools
gimp (Red Hat package)
gimp-debugsource
gimp-debuginfo
gimp-help
gimp-plugin-aa
libgimpui-2_0-0-64bit
libgimp-2_0-0-64bit-debuginfo
libgimp-2_0-0-64bit
gimp-devel-debuginfo
libgimp-2_0-0-debuginfo
libgimpui-2_0-0
libgimp-2_0-0
libgimpui-2_0-0-64bit-debuginfo
libgimpui-2_0-0-debuginfo
gimp-plugin-aa-debuginfo
gimp-lang
libgimpui-2_0-0-32bit-debuginfo
libgimp-2_0-0-32bit
libgimp-2_0-0-32bit-debuginfo
libgimpui-2_0-0-32bit
gimp (Debian package)
pygtk2-doc
pygtk2
pygtk2-codegen
pygtk2-devel
pygobject2
pygobject2-codegen
pygobject2-devel
pygobject2-doc
gimp-vala
gimp-plugin-python3
gimp-extension-goat-excercises
How to mitigate CVE-2025-14422
python2-cairo-devel - update to 1.16.3-7
gimp (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm2, 2.8.22-1ubuntu0.1~esm2, 2.10.18-1ubuntu0.1+esm2, 2.10.30-1ubuntu0.1+esm2, 2.10.36-3ubuntu0.24.04.1+esm2
gimp-libs - addressed in versions 2.8.22-1, 2.8.22-26
gimp - addressed in versions 2.8.22-1, 2.8.22-26
gimp-devel - addressed in versions 2.8.22-1, 2.8.22-26
gimp-devel-tools - addressed in versions 2.8.22-1, 2.8.22-26
gimp (Red Hat package) - addressed in versions 2.8.22-1.el7_9.5, 2.99.8-3.el9_0.3, 2.99.8-4.el9_2.3, 2.99.8-4.el9_4.3, 2.99.8-4.el9_6.4, 3.0.4-1.el9_7.2
gimp - addressed in versions 2.10.6-17, 3.0.2-7
gimp-debugsource - addressed in versions 2.10.6-17, 3.0.2-7
gimp-debuginfo - addressed in versions 2.10.6-17, 3.0.2-7
gimp-devel - addressed in versions 2.10.6-17, 3.0.2-7
gimp-help - update to 2.10.6-17
gimp-libs - addressed in versions 2.10.6-17, 3.0.2-7
gimp-plugin-aa - update to 2.10.30-150400.3.38.1
gimp-debuginfo - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0-64bit - update to 2.10.30-150400.3.38.1
libgimp-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.38.1
libgimp-2_0-0-64bit - update to 2.10.30-150400.3.38.1
gimp-devel-debuginfo - update to 2.10.30-150400.3.38.1
libgimp-2_0-0-debuginfo - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0 - update to 2.10.30-150400.3.38.1
libgimp-2_0-0 - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0-debuginfo - update to 2.10.30-150400.3.38.1
gimp-plugin-aa-debuginfo - update to 2.10.30-150400.3.38.1
gimp-debugsource - update to 2.10.30-150400.3.38.1
gimp-devel - update to 2.10.30-150400.3.38.1
gimp - update to 2.10.30-150400.3.38.1
gimp-lang - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.38.1
libgimp-2_0-0-32bit - update to 2.10.30-150400.3.38.1
libgimp-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.38.1
libgimpui-2_0-0-32bit - update to 2.10.30-150400.3.38.1
gimp (Debian package) - addressed in versions 2.10.34-1+deb12u6, 3.0.4-3+deb13u4
pygtk2-doc - update to 2.24.0-25
pygtk2 - update to 2.24.0-25
pygtk2-codegen - update to 2.24.0-25
pygtk2-devel - update to 2.24.0-25
pygobject2 - update to 2.28.7-5
pygobject2-codegen - update to 2.28.7-5
pygobject2-devel - update to 2.28.7-5
pygobject2-doc - update to 2.28.7-5
gimp-vala - update to 3.0.2-7
gimp-plugin-python3 - update to 3.0.2-7
gimp-plugin-aa - update to 3.0.2-7
gimp-extension-goat-excercises - update to 3.0.2-7
External References
Related Security Bulletins
- Multiple vulnerabilities in Gimp
- Debian update for gimp
- openEuler 24.03 LTS SP1 update for gimp
- openEuler 24.03 LTS update for gimp
- openEuler 24.03 LTS SP3 update for gimp
- openEuler 24.03 LTS SP2 update for gimp
- Red Hat Enterprise Linux 9 update for gimp
- openEuler 20.03 LTS SP4 update for gimp
- SUSE update for gimp
- Red Hat Enterprise Linux 8 update for the gimp:2.8 module
- Red Hat Enterprise Linux 8 update for the gimp:2.8 module
- Red Hat Enterprise Linux 9 update for gimp
- Red Hat Enterprise Linux 9 update for gimp
- Red Hat Enterprise Linux 8 update for the gimp:2.8 module
- Red Hat Enterprise Linux 8 update for the gimp:2.8 module
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for gimp
- Red Hat Enterprise Linux 8 update for the gimp:2.8 module
- Red Hat Enterprise Linux 9 update for gimp
- Red Hat Enterprise Linux 9 update for gimp
- Anolis OS update for gimp:2.8 module
- Ubuntu update for gimp
- Anolis OS update for gimp