Vulnerability · Published Aug 4, 2026 · Assigned by redhat
CVE-2026-42169Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c)
High 7.3
In plain English
A high-severity security flaw in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gimp | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| AlmaLinux:9 | gimp-libs | 2:3.0.4-4.el9_8.9 | ALSA-2026:50817 |
| Debian:14 | gimp | 3.2.4-1 | DEBIAN-CVE-2026-42169 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2026-42169 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | see references |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | see references |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-131 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:50817 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:73768 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:80509 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:93589 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-42169 vdb-entry, x_refsource_REDHAT
- RHBZ#2461725 issue-tracking, x_refsource_REDHAT