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

Published Oct 28, 2026
·
Updated

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.

Affected Software

1 affected component
danoli3 FreeImage<3.19.22

Event History

Oct 28, 2026
CVE Published
via MITRE·09:11 PM
Data Sourced
via MITRE·09:11 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to convince a user or application to process a crafted IFF/LBM PBM file. The CVSS vector indicates local attack vector, no privileges required, and user interaction required.

2

Which FreeImage versions are affected?

The issue affects the danoli3 fork of FreeImage before version 3.19.22. Version 3.19.22 is not identified as affected by the provided information.

3

What is the potential impact of processing a malicious file?

A crafted ByteRun1 sequence can write up to 127 attacker-controlled bytes past the heap-allocated bitmap. The supplied severity vector indicates potential high impact to confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203