7.8Alta
CVE-2026-118752FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder
Descripción
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.
Debilidad (CWE):
CWE-787
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
Referencias y parches
- GitHub Issue #156 issue-tracking
- https://github.com/danoli3/FreeImage product
- https://github.com/danoli3/FreeImage/blob/3.19.21/Source/FreeImage/PluginIFF.cpp#L296-L324 technical-description
- https://github.com/danoli3/FreeImage/pull/161 patchissue-tracking
- https://github.com/danoli3/FreeImage/commit/e1105d3b464b679f0525c6178d9ccf49d55cf712 patch
- https://github.com/danoli3/FreeImage/commit/cf173c16354274dc8fb739dc395fc7f32efe7d45 patch
- FreeImage 3.19.22 Release Notes release-notes
- Changelog naming CVE-2026-118752 and CVE-2026-118753 release-notes
- https://sourceforge.net/projects/freeimage/ product
- Upstream patch submission #198 patchissue-tracking
- VulnCheck Advisory: FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder third-party-advisory