{"id":"CVE-2026-118753","aliases":["EUVD-2026-112497","GHSA-wr69-568q-rrqg","UBUNTU-CVE-2026-118753"],"status":"published","title":"FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing","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.","severity":{"version":"4.0","score":8.5,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00149,"percentile":0.04156,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2026-10-28T21:11:22Z","modified":"2026-11-04T02:30:22Z","affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.15.1-2build1","3.15.1-2build2","3.15.4-2","3.15.4-3","3.15.4-3ubuntu0.1","3.15.4-3ubuntu0.1+esm1","3.15.4-3ubuntu0.1+esm2","3.15.4-3ubuntu0.1+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.15.4-4.1build1","3.15.4-6","3.17.0+ds1-1.1","3.17.0+ds1-2","3.17.0+ds1-2ubuntu0.1","3.17.0+ds1-2ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0+ds1-5build2","3.17.0+ds1-5+deb9u1build0.18.04.1","3.17.0+ds1-5+deb9u1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-1ubuntu1","3.18.0+ds2-1ubuntu2","3.18.0+ds2-1ubuntu3","3.18.0+ds2-1ubuntu3.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-6ubuntu3","3.18.0+ds2-6ubuntu4","3.18.0+ds2-6ubuntu5","3.18.0+ds2-6ubuntu5.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-9.1","3.18.0+ds2-10","3.18.0+ds2-10build2","3.18.0+ds2-10build3","3.18.0+ds2-10build4"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11build1","3.18.0+ds2-11build2","3.18.0+ds2-11build3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0+ds2-11","3.18.0+ds2-11build1"]}],"products":[{"vendor":"danoli3","product":"freeimage"},{"vendor":"freeimage","product":"freeimage"}],"references":[{"url":"https://github.com/danoli3/FreeImage/pull/183","tags":["issue-tracking","patch","fix","report"]},{"url":"https://github.com/danoli3/FreeImage/commit/96f4099f8e307484ba69b4aa14d772b7679a1bfb","tags":["patch","fix","report"]},{"url":"https://github.com/danoli3/FreeImage","tags":["product","package","report"]},{"url":"https://github.com/danoli3/FreeImage/blob/3.19.24/Source/FreeImage/PluginGIF.cpp#L719-L772","tags":["technical-description","article","report"]},{"url":"https://github.com/danoli3/FreeImage/commit/0da5ddb4d311e5222251348cca1aa988478b1034","tags":["patch","fix","report"]},{"url":"https://github.com/danoli3/FreeImage/releases/tag/3.19.25","tags":["release-notes","advisory","report"]},{"url":"https://github.com/danoli3/FreeImage/pull/244","tags":["release-notes","advisory"]},{"url":"https://sourceforge.net/projects/freeimage/","tags":["product","web"]},{"url":"https://www.vulncheck.com/advisories/freeimage-danoli3-fork-before-3.19.25-heap-buffer-overflow-via-gif-playback-compositing","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118753","tags":["advisory"]},{"url":"https://sourceforge.net/projects/freeimage"},{"url":"https://github.com/advisories/GHSA-wr69-568q-rrqg"},{"url":"https://github.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118753.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-118753","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-118753","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-118753","title":"FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing","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.","status":"published","published":"2026-10-28T21:11:22.192Z","modified":"2026-11-02T21:01:26.093Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-03T00:01:31.308004Z"}],"euvd":[{"id":"EUVD-2026-112497","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.","status":"published","published":"2026-10-28T21:11:22Z","modified":"2026-11-03T00:01:27Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high"}],"updated_at":"2026-11-03T05:08:36.239358Z"}],"ghsa":[{"id":"GHSA-wr69-568q-rrqg","title":"FreeImage (danoli3 fork) before 3.19.25 contains a heap buffer overflow vulnerability in...","description":"FreeImage (danoli3 fork) before 3.19.25 contains 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.","status":"published","published":"2026-10-29T00:31:24Z","modified":"2026-11-02T21:31:43Z","cvss":[{"version":"4.0","score":8.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-03T00:02:47.574481Z"}],"nvd":[{"id":"CVE-2026-118753","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.","status":"published","published":"2026-10-28T22:17:14.047Z","modified":"2026-11-03T00:17:18.47Z","cvss":[{"version":"4.0","score":8.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-03T06:40:58.196745Z"}],"osv":[{"id":"CVE-2026-118753","title":"FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing","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.","status":"published","published":"2026-10-28T21:11:22.192Z","modified":"2026-11-04T07:03:28.287518979Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-04T07:32:23.735279Z"},{"id":"UBUNTU-CVE-2026-118753","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.","status":"published","published":"2026-10-28T22:17:00Z","modified":"2026-11-05T11:47:08.014996252Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.5,"vector":"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","level":"high"}],"updated_at":"2026-11-05T13:30:15.321876Z"}]}}
