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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118752.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.19.22"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "e1105d3b464b679f0525c6178d9ccf49d55cf712"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "cf173c16354274dc8fb739dc395fc7f32efe7d45"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "3.19.22",
"range": [
{
"fixed": "546cf69fb061bf1cdcfcdd5c61f5853cbfe5f6cc"
}
],
"source": "REFERENCES_TAG"
}
]
}