Red Hat Enterprise Linux 9
Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c)
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 versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 2:3.0.4-4.el9_8.9
Fixed in 2:2.99.8-4.el9_2.7
Fixed in 2:2.99.8-4.el9_4.19
Fixed in 2:2.99.8-4.el9_6.20
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.9 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 2:2.99.8-4.el9_2.7 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 2:2.99.8-4.el9_4.19 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 2:2.99.8-4.el9_6.20 or later.
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:50817
- Vendor advisory access.redhat.com/errata/RHSA-2026:73768
- Vendor advisory access.redhat.com/errata/RHSA-2026:80509
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:93589
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.