CVE-2026-42169: Incorrect Calculation of Buffer Size in Red Hat Red Hat Enterprise Linux 9
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.
AI Analysis
Technical Summary
This vulnerability involves a heap-buffer-overflow in GIMP's APNG file loader triggered when the frame control (fcTL) width exceeds the image header (IHDR) width, causing pixel data to be written beyond allocated heap memory. Additionally, a heap-based buffer overflow exists in the DDS plug-in due to a bits-per-pixel mismatch in the load_layer() function. Both flaws can be exploited by opening maliciously crafted image files, potentially allowing arbitrary code execution. Red Hat has released a security update for GIMP in Red Hat Enterprise Linux 9 to address this issue.
Potential Impact
Successful exploitation can lead to arbitrary code execution, denial of service (crash), or unauthorized memory access due to heap-based buffer overflows. The vulnerability requires local access with low privileges and user interaction (opening a crafted image). The CVSS v3.1 score is 7.3 (High), indicating significant confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A security update for GIMP is available for Red Hat Enterprise Linux 9 and should be applied to remediate this vulnerability. The update is distributed via Red Hat advisories RHSA-2026:50817 and includes fixes for this and related vulnerabilities. No alternative mitigations are currently available or meet Red Hat's criteria for ease of use and applicability. Users should update to the fixed GIMP package version 3.0.4-4.el9_8.9 or later as provided by Red Hat.
CVE-2026-42169: Incorrect Calculation of Buffer Size in Red Hat Red Hat Enterprise Linux 9
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.
CVSS v3.1
Score 7.3high
Affected software
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 7
Red Hat
Red Hat Enterprise Linux 8
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a heap-buffer-overflow in GIMP's APNG file loader triggered when the frame control (fcTL) width exceeds the image header (IHDR) width, causing pixel data to be written beyond allocated heap memory. Additionally, a heap-based buffer overflow exists in the DDS plug-in due to a bits-per-pixel mismatch in the load_layer() function. Both flaws can be exploited by opening maliciously crafted image files, potentially allowing arbitrary code execution. Red Hat has released a security update for GIMP in Red Hat Enterprise Linux 9 to address this issue.
Potential Impact
Successful exploitation can lead to arbitrary code execution, denial of service (crash), or unauthorized memory access due to heap-based buffer overflows. The vulnerability requires local access with low privileges and user interaction (opening a crafted image). The CVSS v3.1 score is 7.3 (High), indicating significant confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A security update for GIMP is available for Red Hat Enterprise Linux 9 and should be applied to remediate this vulnerability. The update is distributed via Red Hat advisories RHSA-2026:50817 and includes fixes for this and related vulnerabilities. No alternative mitigations are currently available or meet Red Hat's criteria for ease of use and applicability. Users should update to the fixed GIMP package version 3.0.4-4.el9_8.9 or later as provided by Red Hat.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-04-24T20:54:37.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-42169","vendor":"Red Hat"}]
Threat ID: 6a715d90bf32cb7a34ac2b38
Added to database: 08/04/2026, 03:33:36 UTC
Last enriched: 08/11/2026, 17:50:57 UTC
Last updated: 09/18/2026, 10:01:31 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.