CVE-2025-14425

NameCVE-2025-14425
DescriptionGIMP JP2 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 JP2 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-28248.
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)
ReferencesDLA-4431-1, DSA-6093-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)bullseye2.10.22-4+deb11u2vulnerable
bullseye (security)2.10.22-4+deb11u5fixed
bookworm2.10.34-1+deb12u3vulnerable
bookworm (security)2.10.34-1+deb12u6fixed
trixie3.0.4-3+deb13u2vulnerable
trixie (security)3.0.4-3+deb13u4fixed
forky, sid3.2.0~RC2-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsourcebullseye2.10.22-4+deb11u5DLA-4431-1
gimpsourcebookworm2.10.34-1+deb12u6DSA-6093-1
gimpsourcetrixie3.0.4-3+deb13u4DSA-6093-1
gimpsource(unstable)3.2.0~RC2-1

Notes

https://www.zerodayinitiative.com/advisories/ZDI-25-1139/
https://gitlab.gnome.org/GNOME/gimp/-/issues/15285
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/cd1c88a0364ad1444c06536731972a99bd8643fd (GIMP_3_2_0_RC1)

Search for package or bug name: Reporting problems