High
FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
Type: advisorySources: Official CVE List
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.
- Products
- FreeImage
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-118752
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:45 UTC · Revision 1
Source evidence
FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
core-cve · Original sourcePublished 28 Oct 2026, 21:11 UTC
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.
cve:CVE-2026-118752
FreeImage
Fixed versions: Not specified
FreeImage
Fixed versions: Not specified
Complete source record
{
"id": "c1deb1d1ffc843a792973ece65bb70aa07f22e8384f41059afd47b8140129238",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-118752",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder",
"summary": "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.",
"evidence": "cve:CVE-2026-118752",
"products": [
{
"name": {
"value": "FreeImage",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
},
{
"name": {
"value": "FreeImage",
"evidence": "/containers/cna/affected/1/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-118752",
"aliases": [
"CVE-2026-118752"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"baseScore": 8.5,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"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",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"repo": "https://github.com/danoli3/FreeImage",
"vendor": "danoli3",
"product": "FreeImage",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.19.22",
"versionType": "semver"
}
],
"packageURL": "pkg:github/danoli3/FreeImage",
"collectionURL": "https://github.com",
"defaultStatus": "unaffected"
},
{
"vendor": "FreeImage",
"product": "FreeImage",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "semver",
"lessThanOrEqual": "3.18.0"
}
],
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-28T21:11:21.485Z",
"provider": "cve",
"references": [
"https://github.com/danoli3/FreeImage/issues/156",
"https://github.com/danoli3/FreeImage",
"https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324",
"https://github.com/danoli3/FreeImage/pull/161",
"https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712",
"https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45",
"https://github.com/danoli3/FreeImage/releases/tag/3.19.22",
"https://www.vulncheck.com/advisories/freeimage-before-3.19.22-heap-buffer-overflow-via-iff-lbm-pbm-rle-decoder"
],
"provider_metadata": {
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-28T21:11:21.485Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-118752",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 491719,
"published_at": "2026-10-28T21:11:21.485+00:00"
}