CVE-2026-6694

Gimp: gimp file-png plugin: denial of service via oversized apng trns chunk

Published Aug 3, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in GIMP's file-png plugin. A remote attacker can exploit this by crafting a malicious Animated Portable Network Graphics (APNG) image containing an oversized tRNS chunk. This can lead to a stack-based buffer overflow (CWE-121), causing the file-png plugin to crash and resulting in a Denial of Service (DoS) for the user.

Analysis

AI-generated

Technical impact

A flaw in GIMP's file‑png plugin allows a remote attacker to craft an Animated Portable Network Graphics (APNG) file with an oversized tRNS chunk that triggers a stack‑based buffer overflow (CWE‑120) and crashes the plugin, resulting in a denial of service for the end user. The attack exploits improper bounds checking during APNG decoding and can be triggered without authentication, causing the application to terminate or become unresponsive.

Affected Systems

The vulnerability affects GIMP running on Red Hat Enterprise Linux 6, 7, 8, and 9. Any system that has GIMP installed and processes APNG images is potentially impacted, regardless of the Linux distribution version. No specific GIMP version numbers are listed, but the issue resides in the file‑png plugin component.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. EPSS is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector is delivery of a malicious APNG file to a user who opens or imports it in GIMP—this could occur via email, web browsing, or shared media. Once the attacker provides the file, the plugin crash is automatic, denying service to that user’s session.

Remediation

Vendor Workaround

To mitigate this issue, avoid opening or processing untrusted APNG (Animated Portable Network Graphics) image files with GIMP. Since the vulnerability is triggered by malformed APNG content, restricting interaction with such files will prevent the `file-png` plugin from crashing. If the plugin crashes, restarting GIMP may be necessary to restore full functionality.


OpenCVE Recommended Actions

  • Avoid opening or processing untrusted APNG files with GIMP.
  • If the file‑png plugin crashes, restart GIMP to restore functionality.
  • When a newer GIMP version becomes available, upgrade to benefit from the fixed decoding logic that validates APNG chunk sizes.

Generated by OpenCVE AI on August 3, 2026 at 08:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
Description A flaw was found in GIMP's file-png plugin. A remote attacker can exploit this by crafting a malicious Animated Portable Network Graphics (APNG) image containing an oversized tRNS chunk. This can lead to a stack-based buffer overflow (CWE-121), causing the file-png plugin to crash and resulting in a Denial of Service (DoS) for the user.
Title Gimp: gimp file-png plugin: denial of service via oversized apng trns chunk
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-120
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 10:11 PM
Reserved
Apr 20, 2026, 4:43 PM
Status
Analyzed
Published
Aug 3, 2026, 6:16 AM
Modified
Nov 5, 2026, 10:18 PM