← News

FreeImage: heap buffer overflow allows memory corruption

HighAI-generated2026-11-04

CVE
CVE-2026-118753
Severity
High (CVSS 7.8)
Attack conditions
With local access to the device · No account needed · A user must take some action
Exploitation probability (EPSS)
0.1% (within 30 days; FIRST EPSS, 1 November 2026)

Summary

The FreeImage (danoli3 fork) library versions prior to 3.19.25 contain a heap buffer overflow. An attacker can craft a malicious GIF to corrupt memory.

Details

According to the NVD record, the FreeImage (danoli3 fork) library before version 3.19.25 has a heap buffer overflow in the file PluginGIF.cpp. The flaw occurs when GIF frames with dimensions that exceed the logical screen width are processed.

An attacker can create a specially crafted GIF where the frame's left position plus its width goes beyond the canvas size. When such a file is loaded, the library writes beyond the allocated memory, potentially corrupting the heap and leading to arbitrary code execution.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 28 October 2026 NVD record published
  • 4 November 2026 This article was written