CVE-2025-10925

NameCVE-2025-10925
DescriptionGIMP ILBM 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 ILBM 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-27793.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)bullseye2.10.22-4+deb11u2fixed
bullseye (security)2.10.22-4+deb11u4fixed
bookworm2.10.34-1+deb12u3fixed
bookworm (security)2.10.34-1+deb12u5fixed
trixie (security), trixie3.0.4-3+deb13u2vulnerable
forky, sid3.0.4-6.2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsourcebullseye(not affected)
gimpsourcebookworm(not affected)
gimpsource(unstable)(unfixed)unimportant

Notes

[bookworm] - gimp <not-affected> (Vulnerable code not present)
[bullseye] - gimp <not-affected> (Vulnerable code not present)
https://www.zerodayinitiative.com/advisories/ZDI-25-914/
https://gitlab.gnome.org/GNOME/gimp/-/issues/14816
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2450
Introduced after: https://gitlab.gnome.org/GNOME/gimp/-/commit/222bef78c71ed8562a610f6863d56c0b3e2bef68 (GIMP_2_99_16)
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/002b22c15028b18557bd0823a081af9ed5316679
Building of optional Plug-In for Amiga IFF/ILBM not enabled.

Search for package or bug name: Reporting problems