Gimp: heap-based buffer overflow in the jif loader
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| GIMP GNOME | 3.1.2 and later Affected |
| Red Hat Enterprise Linux 10 Red Hat | |
| Red Hat Enterprise Linux 6 Red Hat | |
| Red Hat Enterprise Linux 7 Red Hat | |
| Red Hat Enterprise Linux 8 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | redhat |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- https://access.redhat.com/security/cve/CVE-2026-136329Vulnerability Database
- RHBZ#2583413Issue Tracker
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/17001
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.