CVE-2026-117555Published Oct 27, 2026 · Oct 27Updated Nov 4
CImg crash or heap memory disclosure in BMP loading
GreycLab CImg
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| GreycLab CImg |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck