GNOME GIMP code execution via heap overflow in JIF loader
Affects GIMP from version 3.1.2 when a specially crafted JIF file is processed, including through thumbnail previews. Red Hat Enterprise Linux 6 through 10 are also listed. No fixed version is named.
- Exploited
- No known exploitation
- Fix
- See vendor advisory
- Who is exposed
- Specific setups only
Summary
A heap-based buffer overflow in GIMP's JIF loader can be triggered by a specially crafted JIF image file, causing the application to crash or potentially allowing arbitrary code execution. An attacker needs local access and must get a user to open the malicious file, but no login is required.
Written by a model
Original description
A flaw was found in the file-gif-load plugin in GIMP. When processing a specially crafted JIF image file, a 32-bit integer overflow occurs during the pixel buffer size calculation, while the zlib output limit is computed separately without wrapping. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the compressed image data is decompressed. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.
Who should check
Teams running GNOME GIMP (including 3.2.6 and master builds) or Red Hat Enterprise Linux 6 through 10 with GIMP installed, especially those opening JIF files or browsing folders of them.
“GIMP version: 3.2.6 (tag GIMP_3_2_6, commit e101dd19b1) and master.”
What to do
Check whether your setup matches what the bug needs.
A specially crafted JIF image file is processed by GIMP's file-gif-load plugin. Thumbnail previews enabled, so the file does not need to be explicitly opened.Workaround: Do not open JIF files or navigate to directories containing JIF files from untrusted sources using GIMP; disable thumbnail generation in the preferences.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-136329 (Gimp: heap-based buffer overflow in the jif loader), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-136329 (entry last updated 2026-11-25):
Affected:
- GNOME GIMP: from 3.1.2
- Red Hat Red Hat Enterprise Linux 10: version range not reported
- Red Hat Red Hat Enterprise Linux 6: version range not reported
- Red Hat Red Hat Enterprise Linux 7: version range not reported
- Red Hat Red Hat Enterprise Linux 8: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- A specially crafted JIF image file is processed by GIMP's file-gif-load plugin. (source: https://access.redhat.com/security/cve/cve-2026-136329)
- Thumbnail previews enabled, so the file does not need to be explicitly opened. (source: https://access.redhat.com/security/cve/cve-2026-136329)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
Workaround: Do not open JIF files or navigate to directories containing JIF files from untrusted sources using GIMP; disable thumbnail generation in the preferences. (source: https://www.cve.org/CVERecord?id=CVE-2026-136329)
CISA KEV: CVE-2026-136329 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136329 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2583413
- https://access.redhat.com/security/cve/CVE-2026-136329
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/17001
- https://www.cve.org/CVERecord?id=CVE-2026-136329
- https://access.redhat.com/security/cve/cve-2026-136329
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-136329
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136329"}.Affected versions
- gimpFrom 3.1.2
- gimpVersion range not reported
- gimpVersion range not reported
- gimpVersion range not reported
- gimp:2.8/gimpVersion range not reported
- gimpVersion range not reported
cve.now Index
- Exploitation0/40No signal
- Exposure5/25Specific setups only
- Reach10/20Shipped in major Linux distributions
- Severity8.8/10CVSS 7.8, total technical impact per CISA
- No patch5/5No fixed version listed; see vendor advisory
What would change the score
- Would score about 79 if added to CISA KEV
- Would score about 74 if CISA's SSVC rates exploitation active
- Would score about 39 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Link | gitlab.gnome.org · GNOME/gimp/-/work_items/17001 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-136329 |
| Record | NVD · CVE-2026-136329 |
| Write-ups 1Establishes: Technical detail and context. | |
| Report | bugzilla.redhat.com · show_bug.cgi?id=2583413 |
| Other links 1 | |
| Link | access.redhat.com · security/cve/CVE-2026-136329 |
Questions about CVE-2026-136329
Is CVE-2026-136329 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A heap-based buffer overflow in GIMP's JIF loader can crash the application, causing a denial of service, and could potentially allow arbitrary code execution.
Source: access.redhat.com, cve.org
Which versions are affected by CVE-2026-136329?
gimp: from 3.1.2.
Source: cve.now feed data
Am I affected, and how do I check?
GIMP from version 3.1.2 is listed, along with Red Hat Enterprise Linux 6, 7, 8, 9 and 10. The bug is triggered when a crafted JIF file is processed by GIMP's file-gif-load plugin, and thumbnail previews can trigger this without the file being opened. To check, run gimp --version or see the version in GIMP's About dialog.
Source: access.redhat.com, cve.org
How do I fix CVE-2026-136329?
The checked facts name no fixed version and no vendor patch IDs, so no upgrade target can be given here. Check the vendor advisory for a fix.
Source: access.redhat.com, cve.org
What if there's no patch?
Do not open JIF files, or navigate to directories containing JIF files, from untrusted sources using GIMP. Disable thumbnail generation in GIMP's preferences to stop previews from processing these files.
Source: access.redhat.com, cve.org
Related
- CVE-2026-129975Gpgme: gpgme: double free in read_status() via crafted signature
- CVE-2026-135055Webkitgtk: webkitgtk: out-of-bounds read in uiprocess via mismatched dmabufbufferattributes plane vectors
- CVE-2026-136328Gimp: heap-based buffer overflow in the psd merged-image lab path
- CVE-2026-132888Librelp: certificate validation bypass in certvalid tls authentication mode
- CVE-2026-129833Rsyslog: rsyslog: mmanon stack buffer overflow in embedded ipv4-in-ipv6 anonymization
- CVE-2026-129837Rsyslog: rsyslog: out-of-bounds read in weekday formatting
No corrections so far. Something wrong on this page? Report an error.