Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious APNG/DDS file
-
DeliveryDeliver to victim (email/web/share)
-
ExploitVictim opens file in GIMP
-
ExecutionfcTL/BPP mismatch overflows heap buffer
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in GIMP 2.6.12 and earlier, and p
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
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
fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and applic
An issue in gimp_layer_invalidate_boundary of GNOME GIMP 2.10.30 allows attackers to trigger an unhandled exception via
GIMP 2.10.30 and 2.99.10 are vulnerable to Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no a
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that alre
Critical remote code execution vulnerability in GIMP's ICO file parser caused by an integer overflow (CWE-190) that lack
Remote code execution in GIMP 3.0.6 allows attackers to run arbitrary code by tricking a user into opening a malicious P
Remote code execution in GIMP 3.2.0-rc1 lets attackers run arbitrary code by tricking a user into opening a malicious IC
Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cau
Heap-based buffer overflow in GIMP's TIF file parser enables remote code execution when a user opens a crafted TIFF imag
Same weakness CWE-131 – Incorrect Calculation of Buffer Size
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Liberty Linux 9 | Fixed |
EUVD-2026-52573
GHSA-xq2c-w9r3-rwr6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB