Skip to content

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

HighCVSS 8.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Ubuntu

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.

Upgrade path

6 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/freeimage(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/freeimage(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/freeimage(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/freeimage(Ubuntu 26.10) All versions No fix listed No fix yet
danoli3/freeimage < 3.19.22 3.19.22 Fixed
FreeImage <= 3.18.0 after 3.18.0 Fixed

Affected products

ProductAffected versionsFixed in
danoli3/freeimage < 3.19.22 3.19.22
FreeImage <= 3.18.0 No fix listed
ubuntu/freeimage(Ubuntu:22.04) All versions No fix listed
ubuntu/freeimage(Ubuntu:24.04) All versions No fix listed
ubuntu/freeimage(Ubuntu:26.04) All versions No fix listed
ubuntu/freeimage(Ubuntu:26.10) All versions No fix listed

References