{"id":"CVE-2026-118752","aliases":["CVE-2026-118752"],"related":[],"kind":"vulnerability","state":"published","title":"FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder","summary":"FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.22 contain a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp that lacks bounds checks on ByteRun1 runs. Attackers can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes past the heap-allocated bitmap.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.22 contain a heap buffer overflow vulnerability in the PBM RLE decoder of PluginIFF.cpp that lacks bounds checks on ByteRun1 runs. Attackers can supply a crafted IFF/LBM PBM file with runs straddling scanline ends to write up to 127 controlled bytes past the heap-allocated bitmap.","source":"cvelist"}],"published":"2026-10-28T21:11:21.485Z","modified":"2026-11-05T17:17:55.527Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.19.22","status":"affected"}],"vendor":"danoli3","product":"FreeImage","repo":"https://github.com/danoli3/FreeImage","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.18.0","status":"affected"}],"vendor":"FreeImage","product":"FreeImage","source":"cvelist"}],"references":[{"url":"https://github.com/danoli3/FreeImage/issues/156","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/pull/161","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/releases/tag/3.19.22","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/danoli3/FreeImage/pull/244","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://sourceforge.net/projects/freeimage/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://sourceforge.net/p/freeimage/patches/198/","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["areofyl","Tristan Madani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-05T16:52:09.032Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118752","url":"https://www.cve.org/CVERecord?id=CVE-2026-118752","licence":"CVE Terms of Use","modified":"2026-11-05T16:52:17.495Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118752","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118752","licence":"Public domain","modified":"2026-11-05T17:17:55.527Z"}],"updatedAt":"2026-11-25T22:59:47.699Z","epss":{"score":0.00282,"percentile":0.22272,"date":"2026-12-01T12:00:22.000Z"}}