Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 gimp +1 2:3.0.4-4.el9_8.9 RHSA-2026:50817
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS gimp +1 2:2.99.8-4.el9_6.20 RHSA-2026:73768
RHEL 9.4 E4S gimp +1 2:2.99.8-4.el9_4.19 RHSA-2026:80509
RHEL 9.2 E4S gimp +1 2:2.99.8-4.el9_2.7 RHSA-2026:93589

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-4.el9_8.9 ALSA-2026:50817

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-4.el9_8.9 ELSA-2026-50817

Advisories 6

References