{"schemaVersion":3,"id":"CVE-2026-111149","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"FreeImage (danoli3 fork) through 3.19.23 contains a heap out-of-bounds read vulnerability in Unpack32Bits() in PluginPICT.cpp because rowBytes is never checked against the file-controlled PixMap width. Attackers can supply a crafted PICT file with a truncated or undersized rowBytes to over-read up to 64 KiB of heap, leaking memory into decoded pixels or crashing the process.","dates":{"published":"2026-10-15T18:57:38.810Z","modified":"2026-10-15T18:57:38.810Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00129,"percentile":0.02259,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-16T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00129,"percentile":0.02259}],"last30":[{"date":"2026-10-16T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00129,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00129,"percentile":0.02259}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FFE5A6C0BE8B6166","name":"Exploit Reference (hackmd.io)","source":"reference","url":"https://hackmd.io/@haind-pwn/freeimage-pict-unpack32bits-plane-conversion-oob-read","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"danoli3","product":"freeimage","name":"FreeImage","label":"freeimage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.19.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.19.23","eol":null,"hubHref":"/vendor/danoli3/freeimage"},{"vendor":"freeimage","product":"freeimage","name":"FreeImage","label":"freeimage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.18.0","eol":null,"hubHref":"/vendor/freeimage/freeimage"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackmd.io/@haind-pwn/freeimage-pict-unpack32bits-plane-conversion-oob-read","label":"hackmd.io/@haind-pwn/freeimage-pict-unpack32bits-plane-conversion-oob-read","hostname":"hackmd.io","tags":["Technical Description","Exploit"]},{"url":"https://github.com/danoli3/FreeImage/blob/cc2bfc1b67d3a10e2c203c56932b09ffb52a4477/Source/FreeImage/PluginPICT.cpp#L605-L650","label":"github.com/danoli3/…","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/danoli3/FreeImage","label":"github.com/danoli3/FreeImage","hostname":"github.com","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/freeimage-through-3.19.23-heap-out-of-bounds-read-via-pict-unpack32bits","label":"www.vulncheck.com/advisories/freeimage-through-3.19.23-heap-out-of-bounds-read-via-pict-unpack32bits","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-15T18:57:38.810Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:33:08.782Z","stale":false,"partial":false}}