| Name | CVE-2026-42169 |
| Description | A heap-buffer-overflow vulnerability exists in the APNG (Animated PNG) file loader of GIMP. This flaw occurs when the `fcTL` width exceeds the `IHDR` width, leading to pixel data being written past the end of a heap allocation. Additionally, a heap-based buffer overflow exists in the DDS plug-in due to a BPP mismatch in the `load_layer()` function. Both vulnerabilities can be triggered by opening a specially crafted image file, potentially leading to code execution. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| gimp (PTS) | bullseye | 2.10.22-4+deb11u2 | fixed |
| bullseye (security) | 2.10.22-4+deb11u8 | fixed | |
| bookworm, bookworm (security) | 2.10.34-1+deb12u10 | fixed | |
| trixie | 3.0.4-3+deb13u9 | fixed | |
| trixie (security) | 3.0.4-3+deb13u8 | fixed | |
| forky, sid | 3.2.4-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| gimp | source | bullseye | (not affected) | |||
| gimp | source | bookworm | (not affected) | |||
| gimp | source | trixie | (not affected) | |||
| gimp | source | (unstable) | 3.2.4-1 |
[trixie] - gimp <not-affected> (Vulnerable code not present)
[bookworm] - gimp <not-affected> (Vulnerable code not present)
[bullseye] - gimp <not-affected> (Vulnerable code not present)
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16158
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2743
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/691785113a1b5dc8cd42818fbd7bf29e8d6ed814 (GIMP_3_2_4)
Introduced by: https://gitlab.gnome.org/GNOME/gimp/-/commit/bb9c43102fd3013ada9c99990c31171c5b99f104 (GIMP_3_1_2)