Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c)
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-131 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | — | 2:3.0.4-4.el9_8.9 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | — | 2:2.99.8-4.el9_2.7 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | — | 2:2.99.8-4.el9_4.19 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | — | 2:2.99.8-4.el9_6.20 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2:3.0.4-4.el9_8.9 Patch available CNA
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions VendorRed Hat Affected — Fixed in 2:2.99.8-4.el9_2.7 Patch available CNA
- Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions VendorRed Hat Affected — Fixed in 2:2.99.8-4.el9_4.19 Patch available CNA
- Red Hat Enterprise Linux 9.6 Extended Update Support VendorRed Hat Affected — Fixed in 2:2.99.8-4.el9_6.20 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
Remediation
Red Hat 4 advisories
- RHSA-2026:93589 Released 2026-11-02 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.7, gimp-libs-2:2.99.8-4.el9_2.7
- RHSA-2026:80509 Released 2026-10-12 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) gimp-2:2.99.8-4.el9_4.19, gimp-libs-2:2.99.8-4.el9_4.19
- RHSA-2026:73768 Released 2026-09-30 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp-2:2.99.8-4.el9_6.20, gimp-libs-2:2.99.8-4.el9_6.20
Show 1 more Red Hat advisories
- RHSA-2026:50817 Released 2026-08-05 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-4.el9_8.9, gimp-libs-2:3.0.4-4.el9_8.9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:50817 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:93589 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:80509 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:73768 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42169
- 2026-10-03 Alias added: GHSA-xq2c-w9r3-rwr6
- 2026-10-12 Fix available: gimp@2:2.99.8-4.el9_4.19 · CNA
- 2026-10-12 1 new reference · CNA
- 2026-10-12 Fix available: RHSA-2026:80509 · Red Hat
- 2026-10-12 Fix available: Red Hat Enterprise Linux AppStream E4S (v.9.4) · Red Hat
- 2026-11-02 Fix available: gimp@2:2.99.8-4.el9_2.7 · CNA
- 2026-11-02 1 new reference · CNA
- 2026-11-02 Fix available: RHSA-2026:93589 · Red Hat
- 2026-11-02 Fix available: Red Hat Enterprise Linux AppStream E4S (v.9.2) · Red Hat
References
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2026-42169 · CVE Program
- CVE-2026-42169 · NVD
- FIRST EPSS
- GHSA-xq2c-w9r3-rwr6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-42169 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences