p PatchFirst

CVE-2026-118752

CVE-2026-118752 · FreeImage before 3.19.22 Heap Buffer Overflow via IFF/LBM PBM RLE Decoder

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.5 · High · EPSS 0.1% · Fix available

Published
Updated

Affected products and versions

  • freeimage

    Versions
    • ≥ 0, < 3.19.22: Affected (semver)

    Update to 3.19.22

  • freeimage

    Versions
    • ≥ 0, ≤ 3.18.0: Affected (semver)

    No fix published

Original sources

Check your server →