---
id: CVE-2026-42169
title: >-
  A heap-buffer-overflow vulnerability exists in the APNG (Animated PNG) file
  loader of GIMP
summary: >-
  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.
  Additiona…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-131
vendor: Red Hat
product: gimp
affected:
  - gimp (all versions)
  - gimp (all versions)
  - gimp
  - gimp
  - 'gimp:2.8/gimp'
published: '2026-08-04'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T15:22:30.530'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42169'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:50817'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:73768'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-42169'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2461725'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-04T14:20:46.706250Z'
epss: 0.00191
epssPercentile: 0.07846
ingestedAt: '2026-09-30T15:07:05.374Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
