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

Read the record on cve.org

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.

ProductVersions
GIMP GNOME3.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

Weaknesses

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.