Skip to content
OpenAdvisories
High · 7.8 CVE-2026-118752 EUVD-2026-112496GHSA-pqw8-2jmw-8f2c

FreeImage through 3.18.0 and danoli3 fork before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder

Published Oct 28, 2026 · Updated Nov 5, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
danoli3 FreeImage < 3.19.22 3.19.22
FreeImage FreeImage ≤ 3.18.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 freeimage No fix yet —
Ubuntu 26.04 LTS freeimage No fix yet —
Ubuntu 24.04 LTS freeimage No fix yet —
Ubuntu 22.04 LTS freeimage No fix yet —
Ubuntu 20.04 LTS freeimage No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS freeimage No fix yet —
Ubuntu Pro 16.04 LTS freeimage No fix yet —
Ubuntu Pro 14.04 LTS freeimage No fix yet —

References