Technical impact
The vulnerability is an integer overflow in CImg’s BMP loader that causes a heap out‑of‑bounds read when a BMP file has an excessively large header width. An attacker who can supply such a crafted file can cause buffer reads beyond allocated memory, potentially leaking heap data or crashing the application during image decoding.
Affected Systems
GreycLab’s CImg library up to and including version 4.0.6 is affected. Any system that imports and uses this library to process BMP images, without vetting input, is potentially vulnerable.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. The EPSS score below 1% suggests that exploitation is unlikely, though still possible. The vulnerability is not listed in the CISA KEV catalog, indicating no known active attacks. Based on the description, the likely attack vector is local or remote execution of the vulnerable library with a malicious BMP file; the attacker must be able to supply such a file to the application, but does not need privileged access.