SecurityContext

CVE-2026-118753: FreeImage - Buffer Overflow

  • Cve: CVE-2026-118753
  • Name: FreeImage - Buffer Overflow
  • Description: FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.25 contain a heap buffer overflow vulnerability in PluginGIF.cpp that allows attackers to write past the canvas allocation via unclipped GIF frame rectangles. Attackers can craft a GIF whose frame left plus width exceeds the logical screen width, causing GifPlaybackCompositeFrame() and GifPlaybackFillRect() to corrupt heap memory when loaded with GIF_PLAYBACK.
  • Impact: Attackers can corrupt heap memory, potentially leading to application crashes or arbitrary code execution.
  • Remediation: Update to version 3.19.25 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00149
  • Epss percentile: 0.04023
  • Assignee: [email protected]
  • Published at: 2026-10-28T22:17:14Z
  • Age in days: 27
  • Modified at: 2026-11-03T00:17:18Z
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118753
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/danoli3/FreeImage
https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772
https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034
https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb
https://github.com/danoli3/FreeImage/pull/183
https://github.com/danoli3/FreeImage/pull/244
https://github.com/danoli3/FreeImage/releases/tag/3.19.25
https://sourceforge.net/projects/freeimage/
https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing

Products

ProductAffectedPlatform boundSourcesUrl
freeimage_project:freeimage<= 3.18.0nocna/v1/products/freeimage_project/freeimage

Projects

RepositoryLink kindsIndexedUrl
danoli3/FreeImagecommit, fix, pull, releasesyes/v1/repositories/danoli3/FreeImage

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts