Heap-Based Buffer Overflow in GIMP's File-GIF-Load Plugin
CVE-2026-136329

7.8HIGH

What is CVE-2026-136329?

A flaw in the file-gif-load plugin within GIMP allows for a heap-based buffer overflow when processing specially crafted JIF image files. The issue arises from a 32-bit integer overflow that occurs during pixel buffer size calculations, paired with separate zlib output limit computations that do not account for proper wrapping. This vulnerability can lead to undersized heap allocations, causing potential application crashes or exposing the system to arbitrary code execution risks when decompressing the affected image data.

Affected Version(s)

GIMP 3.1.2

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank STAMANSEC for reporting this issue.
.