CVE-2026-117555
CImg through 4.0.6 contains a heap out-of-bounds read vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/GreycLab/CImg
- github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659
- github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5
- github.com/GreycLab/CImg/issues/495
- www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integ
- nvd.nist.gov/vuln/detail/CVE-2026-117555
- cve.org/CVERecord?id=CVE-2026-117555
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.