{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118752","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-10-28T19:13:08.429Z","datePublished":"2026-10-28T21:11:21.485Z","dateUpdated":"2026-10-28T21:11:21.485Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-10-28T21:11:21.485Z"},"datePublic":"2026-10-12T00:00:00.000Z","title":"FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder","descriptions":[{"lang":"en","value":"FreeImage (danoli3 fork) before 3.19.22 contains 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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Out-of-bounds Write","cweId":"CWE-787","type":"CWE"}]}],"affected":[{"vendor":"danoli3","product":"FreeImage","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.19.22","status":"affected","versionType":"semver"}],"collectionURL":"https://github.com","packageURL":"pkg:github/danoli3/FreeImage","repo":"https://github.com/danoli3/FreeImage"},{"vendor":"FreeImage","product":"FreeImage","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"3.18.0","status":"affected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:freeimage_project:freeimage:*:*:*:*:*:*:*:*","versionEndIncluding":"3.18.0"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/danoli3/FreeImage/issues/156","tags":["issue-tracking"],"name":"GitHub Issue #156"},{"url":"https://github.com/danoli3/FreeImage","tags":["product"]},{"url":"https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324","tags":["technical-description"]},{"url":"https://github.com/danoli3/FreeImage/pull/161","tags":["patch","issue-tracking"]},{"url":"https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712","tags":["patch"]},{"url":"https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45","tags":["patch"]},{"url":"https://github.com/danoli3/FreeImage/releases/tag/3.19.22","tags":["release-notes"],"name":"FreeImage 3.19.22 Release Notes"},{"name":"VulnCheck Advisory: FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder"}],"credits":[{"lang":"en","value":"areofyl","type":"finder"},{"lang":"en","value":"Tristan Madani","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}