CVEfocus › CVE database › CVE-2026-42169

CVE-2026-42169Gimp: gimp apng loader heap-buffer-overflow when fctl width exceeds ihdr width…

CVSS 7.3 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-08-04Updated 2026-11-24Assigner: redhat

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.

CWE-131

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
5Fix pending
1Under investigation
24Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gimpUnder investigationUBUNTU-CVE-2026-42169
Ubuntu 24.04gimpFix pendingUBUNTU-CVE-2026-42169
Ubuntu 22.04gimpFix pendingUBUNTU-CVE-2026-42169
Ubuntu 20.04gimpFix pendingUBUNTU-CVE-2026-42169
Ubuntu 18.04gimpFix pendingUBUNTU-CVE-2026-42169
Ubuntu 16.04gimpFix pendingUBUNTU-CVE-2026-42169
Debian 14gimpFixed3.2.4-1DEBIAN-CVE-2026-42169
Red Hat Enterprise Linux 9gimpFixed2:3.0.4-4.el9_8.9RHSA-2026:50817
Red Hat Enterprise Linux 9gimp-libsFixed2:3.0.4-4.el9_8.9RHSA-2026:50817
Red Hat Enterprise Linux 8gimpNot affected
Red Hat Enterprise Linux 8gimp-develNot affected
Red Hat Enterprise Linux 8gimp-devel-toolsNot affected
Red Hat Enterprise Linux 8gimp-libsNot affected
Red Hat Enterprise Linux 8pygobject2Not affected
Red Hat Enterprise Linux 8pygobject2-codegenNot affected
Red Hat Enterprise Linux 8pygobject2-develNot affected
Red Hat Enterprise Linux 8pygobject2-docNot affected
Red Hat Enterprise Linux 8pygtk2Not affected
Red Hat Enterprise Linux 8pygtk2-codegenNot affected
Red Hat Enterprise Linux 8pygtk2-develNot affected
Red Hat Enterprise Linux 8pygtk2-docNot affected
Red Hat Enterprise Linux 8python2-cairoNot affected
Red Hat Enterprise Linux 8python2-cairo-develNot affected
Red Hat Enterprise Linux 8python2-pycairoNot affected
Red Hat Enterprise Linux 7gimpNot affected
Red Hat Enterprise Linux 7gimp-develNot affected
Red Hat Enterprise Linux 7gimp-devel-toolsNot affected
Red Hat Enterprise Linux 7gimp-libsNot affected
Red Hat Enterprise Linux 6gimpNot affected
Red Hat Enterprise Linux 6gimp-develNot affected
Red Hat Enterprise Linux 6gimp-devel-toolsNot affected
Red Hat Enterprise Linux 6gimp-help-browserNot affected
Red Hat Enterprise Linux 6gimp-libsNot affected
AlmaLinux 9gimpFixed2:3.0.4-4.el9_8.9ALSA-2026:50817
AlmaLinux 9gimp-libsFixed2:3.0.4-4.el9_8.9ALSA-2026:50817

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.