Danoli3 FreeImage
FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-787
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
danoli3 FreeImage
- < 3.19.22
Fixed in 3.19.22
FreeImage FreeImage
- <= 3.18.0
Mitigation
Upgrade FreeImage to 3.19.22 or later.
References
- Patch github.com/danoli3/FreeImage/pull/161
- Patch github.com/danoli3/FreeImage/commit/e1105d3b46…
- Patch github.com/danoli3/FreeImage/commit/cf173c1635…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.