Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c)
cve-program · CVE-2026-42169
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-42169 · CVE overview and exploitation status
cve-program · CVE-2026-42169
Related changes
Linked by CVE identifier- Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c) · Affected-version evidence changed · 5 Nov 2026
- Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width (file-png.c) · Affected-version evidence changed · 2 Nov 2026