# CVE-2026-118753: FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-10-28T21:11:22.192Z
- Modified: 2026-11-03T00:17:18.470Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- danoli3 FreeImage: before 3.19.25 (not affected: 3.19.25)
- FreeImage FreeImage: up to 3.18.0

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/danoli3/FreeImage/pull/183> (issue-tracking, patch)
- <https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb> (patch)
- <https://github.com/danoli3/FreeImage> (product)
- <https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772> (technical-description)
- <https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034> (patch)
- <https://github.com/danoli3/FreeImage/releases/tag/3.19.25> (release-notes)
- <https://github.com/danoli3/FreeImage/pull/244> (release-notes)
- <https://sourceforge.net/projects/freeimage/> (product)
- <https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-118753](https://www.cve.org/CVERecord?id=CVE-2026-118753), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-118753](https://nvd.nist.gov/vuln/detail/CVE-2026-118753), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118753 · Whole record: https://cve.day/CVE-2026-118753.json · Rebuilt by cve.day 2026-11-25T22:59:47.699Z
