- Home
- Vulnerabilities
- CVE-2026-136329
CVE-2026-136329
Gimp: heap-based buffer overflow in the jif loader
Summary
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.
Affected products and versions
Gnome (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| GIMP | 3.1.2 |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
Workaroundofficial source
To mitigate this vulnerability, do not open JIF files or navigate to directories containing JIF files from untrusted sources using GIMP. Additionally, users can disable thumbnail generation in the preferences to prevent the vulnerable code path from being reached when using the GIMP file chooser.
Source : CNA (vendor or assigner)
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://access.redhat.com/security/cve/CVE-2026-136329vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2583413issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/17001
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-122 · Corruption mémoire