Skip to main content
← All vulnerabilities
CVE-2026-118752EUVD-2026-112496

FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.19.22
None on Exploit-DB, Metasploit or GitHub

Summary

The FreeImage image library (the danoli3 fork, versions before 3.19.22) is affected. Opening a specially crafted IFF/LBM image file can corrupt memory on the heap, which may crash the application or allow an attacker to run code.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • danoli3 FreeImage

    fixed in 3.19.22

  • FreeImage FreeImage

    through 3.18.0

References 8

GitHub · danoli3/FreeImage

vulncheck.com