Stack Buffer Overflow in GIMP's TIM Image Loader
CVE-2026-40916

5MEDIUM

What is CVE-2026-40916?

A vulnerability exists in GIMP's TIM image loader specifically within the 4BPP decoding path, allowing a local user to manipulate the application into a denial of service state. When opening a specially crafted TIM image file, the application crashes due to an unconditional overflow during the writing process to a variable-length array. This flaw highlights the importance of validating inputs and maintaining robust error-handling mechanisms to ensure software stability.

References

CVSS V3.1

Score:
5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Mehtab Zafar for reporting this issue.
.