CVE-2026-42169 Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c)
HighCVSS 7.8
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 8 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/gimp(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/gimp(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/gimp(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/gimp(Debian 14) | < 3.2.4-1; = 3.0.4-3; = 3.0.4-4; = 3.0.4-5 +13 more | 3.2.4-1 | Fixed |
| redhat enterprise linux | < 2:3.0.4-4.el9_8.9; = 8; = 9.0 | 2:3.0.4-4.el9_8.9 | Fixed |
| redhat rhel e4s | < 2:2.99.8-4.el9_2.7; < 2:2.99.8-4.el9_4.19 | 2:2.99.8-4.el9_2.7, 2:2.99.8-4.el9_4.19 | Fixed |
| redhat rhel eus | < 2:2.99.8-4.el9_6.20 | 2:2.99.8-4.el9_6.20 | Fixed |
| redhat/gimp(Red Hat enterprise_linux 9) | < 2:3.0.4-4.el9_8.9 | 2:3.0.4-4.el9_8.9 | Fixed |
| redhat/gimp(Red Hat rhel_e4s 9.2) | < 2:2.99.8-4.el9_2.7 | 2:2.99.8-4.el9_2.7 | Fixed |
| redhat/gimp(Red Hat rhel_e4s 9.4) | < 2:2.99.8-4.el9_4.19 | 2:2.99.8-4.el9_4.19 | Fixed |
| redhat/gimp(Red Hat rhel_eus 9.6) | < 2:2.99.8-4.el9_6.20 | 2:2.99.8-4.el9_6.20 | Fixed |
| redhat enterprise linux eus | = 9.6 | No fix listed | Versions listed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/gimp(Red Hat:enterprise_linux:9) | < 2:3.0.4-4.el9_8.9 | 2:3.0.4-4.el9_8.9 |
| redhat/gimp(Red Hat:rhel_e4s:9.2) | < 2:2.99.8-4.el9_2.7 | 2:2.99.8-4.el9_2.7 |
| redhat/gimp(Red Hat:rhel_e4s:9.4) | < 2:2.99.8-4.el9_4.19 | 2:2.99.8-4.el9_4.19 |
| redhat/gimp(Red Hat:rhel_eus:9.6) | < 2:2.99.8-4.el9_6.20 | 2:2.99.8-4.el9_6.20 |
| ubuntu/gimp(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gimp(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gimp(Ubuntu:26.04) | All versions | No fix listed |
| debian/gimp(Debian:14) | < 3.2.4-1 | 3.2.4-1 |
| redhat enterprise linux | < 2:3.0.4-4.el9_8.9 | 2:3.0.4-4.el9_8.9 |
| redhat rhel e4s | < 2:2.99.8-4.el9_2.7 | 2:2.99.8-4.el9_2.7 |
| redhat rhel e4s | < 2:2.99.8-4.el9_4.19 | 2:2.99.8-4.el9_4.19 |
| redhat rhel eus | < 2:2.99.8-4.el9_6.20 | 2:2.99.8-4.el9_6.20 |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux eus | = 9.6 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-3 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-4 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-5 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6.1 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.4-6.2 | No fix listed |
| debian/gimp(Debian:14) | = 3.0.6-1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0-1 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gimp(Debian:14) | = 3.2.0~RC2-1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-2 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.2 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC2-3.3 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.0~RC3-1 | No fix listed |
| debian/gimp(Debian:14) | = 3.2.2-1 | No fix listed |
References
- RHSA-2026:50817 issue-tracking patch vendor-advisory
- RHSA-2026:73768 issue-tracking patch vendor-advisory
- RHSA-2026:80509 patch vendor-advisory
- RHSA-2026:93589 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2461725 issue-tracking vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-42169 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-52573 third-party-advisory