FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
Impact
FreeImage before 3.19.22 has a heap buffer overflow via the IFF/LBM PBM RLE decoder, allowing attackers to write controlled bytes past the heap-allocated bitmap with a crafted file. The vulnerability is due to a lack of bounds checks. Local access is required to supply the crafted file.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
danoli3 · VulnCheck
FreeImage
1 range
danoli3 · VulnCheck
FreeImage
Package identity
pkg:github/danoli3/FreeImageIdentity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 3.19.22
semver versions
Other versions: unaffected
FreeImage · VulnCheck
FreeImage
1 range
FreeImage · VulnCheck
FreeImage
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → through 3.18.0
semver versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-118752View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:freeimage_project:freeimage:*:*:*:*:*:*:*:*Through (inclusive): 3.18.0
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:freeimage_project:freeimage:*:*:*:*:*:*:*:*",
"versionEndIncluding": "3.18.0"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.