Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious APNG/DDS file
  2. Delivery
    Deliver to victim (email/web/share)
  3. Exploit
    Victim opens file in GIMP
  4. Execution
    fcTL/BPP mismatch overflows heap buffer
  5. Impact
    Execute code as current user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
Exploitation Conditions

Exploitation requires a victim to open a specially crafted image file in GIMP - specifically an APNG (Animated PNG) file whose fcTL frame width is larger than the IHDR image width, or a DDS file that triggers a bits-per-pixel mismatch in the load_layer() function. There is no remote/network trigger: the attacker must get the malicious file onto the target and induce the user to open it (UI:R), so exploitation is gated by user interaction and local file handling rather than an exposed service. Limiting factors: the victim must actively open the attacker-supplied file in GIMP, only affects installations with the vulnerable GIMP version, and reliable code execution (beyond a crash) requires heap layout control. No authentication is needed to craft or deliver the file (PR:N).

Impact

This is a genuine but not urgent priority. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 HIGH) accurately reflects a client-side, file-parsing memory-corruption bug: exploitation is local (the victim must open a malicious file), requires user interaction (UI:R), needs no prior authentication (PR:N), and yields full CIA impact if code execution is achieved. All secondary signals point AWAY from imminent mass exploitation: EPSS is very low (0.13%, 3rd percentile), the vulnerability is NOT in CISA KEV, and SSVC records Exploitation: none and Automatable: no - consistent with a bug that must be delivered file-by-file to individual users rather than sprayed against network services. SSVC Technical Impact: total aligns with the C:H/I:H/A:H rating. There is no conflict between CVSS and the description - both describe local file-open exploitation. The one notable data anomaly is that the CPE list and Tags describe Red Hat Enterprise Linux products, while the actual vulnerable software is GIMP (Red Hat is the reporter/errata publisher because GIMP ships in RHEL); this affects attribution/tagging, not the risk math. Bottom line: a real HIGH-severity RCE-class bug worth patching, but low real-world exploitation pressure - patch on a normal cadence, prioritizing systems where users routinely open untrusted image files.

Exploit ScenarioDerived

An attacker crafts a malicious APNG file whose fcTL frame width exceeds the IHDR width (or a DDS file with a mismatched bits-per-pixel value) and delivers it to a victim via email, chat, a website, or a shared drive. When the victim opens the file in GIMP, the loader writes pixel data past the end of a heap allocation, corrupting heap memory and potentially allowing code execution in the context of the user running GIMP. No public exploit code has been identified at time of analysis, and successful reliable code execution would require additional heap-grooming effort.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 30, 2026

Heap-based buffer overflows in GIMP's APNG and DDS image loaders let an attacker corrupt heap memory - and potentially achieve code execution - when a victim opens a specially crafted image file. The APNG path is triggered when the fcTL frame width exceeds the IHDR image width, so pixel data is written past the end of a heap allocation, while the DDS path involves a bits-per-pixel mismatch inside the load_layer() function. Exploitation is local and gated by user interaction (CVSS:3.1/AV:L/AC:L/PR:N/UI:R, 7.8 High), no public exploit code has been identified at time of analysis, and EPSS is very low at 0.13% (3rd percentile); Red Hat has shipped patched packages via RHSA-2026:73768 and RHSA-2026:50817.

Earlier versions of this analysis (1)
v1 Aug 04, 2026 - 03:59 CVSS 7.3

Heap-buffer-overflow vulnerabilities in GIMP's APNG file loader and DDS plug-in allow code execution when a user opens a specially crafted image file. The APNG flaw is triggered when the fcTL chunk width exceeds the IHDR width, causing pixel data to overwrite memory beyond the heap allocation; the DDS flaw stems from a bits-per-pixel mismatch in load_layer(). Both affect GIMP as packaged on Red Hat Enterprise Linux 6 through 9. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Patch available per vendor advisory. Red Hat has released fixed GIMP packages through errata RHSA-2026:73768 and RHSA-2026:50817, so the primary action is to update the GIMP package to the version listed in those advisories (for example, via yum update gimp / dnf update gimp on RHEL 6-9, or equivalent package-manager updates on other distributions that have backported the fix); confirm the exact fixed build from access.redhat.com/security/cve/CVE-2026-42169 before closing out. If immediate patching is not possible, the effective compensating controls are file-handling restrictions rather than network controls, because there is no remote or unauthenticated service path here (AV:L, UI:R): block or quarantine untrusted .png/.apng and .dds files at mail gateways, browsers, and shared storage, and train users not to open image attachments from unverified sources, since the vulnerability fires only when the crafted file is opened interactively. A more surgical mitigation is to remove or rename the DDS plug-in file (typically dds/dds.so or dds.exe under the GIMP plug-ins directory) or to restrict GIMP to a sandboxed/low-privilege account, but note the trade-offs: disabling the DDS plug-in eliminates DDS support entirely and does not address the APNG loader, while running GIMP unprivileged only limits the blast radius of successful code execution rather than preventing the heap overflow itself. There is no configuration toggle that disables the APNG loader without breaking animated PNG handling, so patching remains strongly preferred.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-131 (Incorrect Calculation of Buffer Size), manifested in two independent GIMP image parsers. In the APNG (Animated PNG) loader, a PNG stream carries an IHDR chunk declaring the overall image dimensions and one fcTL (frame control) chunk per animation frame declaring that frame's width, height, and offsets. The loader allocates its pixel buffer from the IHDR dimensions but then honors the fcTL width without validating that it is less than or equal to the IHDR width; when fcTL width is larger, the frame decode loop writes rows of pixel data beyond the end of the heap allocation, producing a heap-buffer-overflow. The second defect is in the DDS plug-in's load_layer() routine, where a mismatch in the bits-per-pixel value used for allocation versus the value used when copying surface data leads to a similar out-of-bounds heap write. Both are classic attacker-controlled size/stride calculation errors in file-format parsers - the same class that has historically yielded reliable crashes and, where heap layout can be groomed, code execution. The CPE data supplied identifies the affected distribution-level artifacts as Red Hat Enterprise Linux 6, 7, 8, and 9 packages (i.e., the GIMP builds shipped and maintained in those releases), consistent with the Red Hat-reported origin of this CVE.

Know when Gimp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY HIGH
NVD 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local file-parsing bug requiring the victim to open a crafted file (AV:L, UI:R), no auth to craft/deliver (PR:N), low complexity, with heap overflow enabling full code execution (C/I/A:H).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.3 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Sep 30, 2026 - 18:37 NVD
7.3 (HIGH) 7.8 (HIGH)
CVE Published
Aug 04, 2026 - 03:15 cve.org
HIGH 7.3

DescriptionNVD

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.

Executive ViewAI

Why It Matters

A high-severity heap overflow in GIMP's APNG and DDS image loaders can let a crafted image run code on a user's workstation when opened. This affects designers, marketing staff, and anyone who opens untrusted image files with GIMP, and the flaw requires no privileges (unauthenticated) though it does require local access and user interaction. No public exploit identified at time of analysis, but Patch available per vendor advisory, so leadership should prioritize patching to reduce workstation compromise and lateral movement risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
GIMP is a very widely deployed open-source image editor across Linux, Windows, macOS
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*

More in Gimp

View all
CVE-2012-2763 HIGH POC
7.5 Jul 12

Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and p

CVE-2012-5576 HIGH POC
7.5 Dec 18

Multiple stack-based buffer overflows in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.8.2 allow remote attack

CVE-2017-17789 HIGH POC
7.8 Dec 20

In GIMP 2.8.22, there is a heap-based buffer overflow in read_channel_data in plug-ins/common/file-psp.c. Rated high sev

CVE-2012-3236 MEDIUM POC
4.3 Jul 12

fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applic

CVE-2022-32990 MEDIUM POC
5.5 Jun 24

An issue in gimp_layer_invalidate_boundary of GNOME GIMP 2.10.30 allows attackers to trigger an unhandled exception via

CVE-2022-30067 MEDIUM POC
5.5 May 17

GIMP 2.10.30 and 2.99.10 are vulnerable to Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no a

CVE-2018-12713 CRITICAL
9.1 Jun 24

GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that alre

CVE-2025-5473 HIGH
8.8 Jun 06

Critical remote code execution vulnerability in GIMP's ICO file parser caused by an integer overflow (CWE-190) that lack

CVE-2026-2044 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.0.6 allows attackers to run arbitrary code by tricking a user into opening a malicious P

CVE-2026-0797 HIGH
8.8 Feb 20

Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious IC

CVE-2016-4994 HIGH
7.8 Jul 12

Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cau

CVE-2026-18307 HIGH
7.8 Aug 20

Heap-based buffer overflow in GIMP's TIF file parser enables remote code execution when a user opens a crafted TIFF imag

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Liberty Linux 9 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy