CVE Catalog

CVE-2026-117555

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. A crafted BMP file with a large header width wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.

Risk Assessment

An attacker can supply a malicious BMP file, potentially causing application crashes or disclosure of heap memory. This may impact confidentiality or stability of services processing images.

Recommendation

Upgrade CImg to a version newer than 4.0.6 containing the fix. Until then, avoid processing untrusted BMP files.

Related vulnerabilities

Original NVD description (English source)

CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS