{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-118752","id":"CVE-2026-118752","title":"FreeImage heap buffer overflow in IFF/LBM PBM RLE decoding","description":"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.","descriptionLong":"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.","published":"2026-10-28T21:11:21.485Z","updated":"2026-11-07T02:31:11.764222570Z","reserved":"2026-10-28T19:13:08.429Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"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","rating":"high","source":"VulnCheck"},"metrics":[{"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","rating":"high","source":"VulnCheck"},{"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"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","rating":"high","source":"VulnCheck"},{"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","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["danoli3 FreeImage","FreeImage"],"affectedProducts":[{"vendor":"danoli3","product":"FreeImage","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.19.22","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"FreeImage","product":"FreeImage","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"3.18.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://github.com/danoli3/FreeImage/issues/156","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/danoli3/FreeImage","tags":["product","package"]},{"url":"https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324","tags":["technical-description","article"]},{"url":"https://github.com/danoli3/FreeImage/pull/161","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712","tags":["patch","fix"]},{"url":"https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45","tags":["patch","fix"]},{"url":"https://github.com/danoli3/FreeImage/releases/tag/3.19.22","tags":["release-notes","advisory"]},{"url":"https://github.com/danoli3/FreeImage/pull/244","tags":["release-notes","advisory"]},{"url":"https://sourceforge.net/projects/freeimage/","tags":["product","web"]},{"url":"https://sourceforge.net/p/freeimage/patches/198/","tags":["patch","issue-tracking","fix"]},{"url":"https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder","tags":["third-party-advisory","advisory"]},{"url":"https://github.com","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118752.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118752","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00153,"epssPercentile":0.04517,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118752","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118752","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-118752","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-118752","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}