{"id":"CVE-2026-117555","published":"2026-10-27T14:16:36.187","lastModified":"2026-10-27T16:04:22.707","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.","cvssScore":6.1,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","cwes":["CWE-190"],"vendors":[],"products":[],"references":[{"url":"https://github.com/GreycLab/CImg","tags":[]},{"url":"https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659","tags":[]},{"url":"https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5","tags":[]},{"url":"https://github.com/GreycLab/CImg/issues/495","tags":[]},{"url":"https://www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp","tags":[]}],"exploitRefs":[{"url":"https://github.com/GreycLab/CImg","tags":[]},{"url":"https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659","tags":[]},{"url":"https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5","tags":[]},{"url":"https://github.com/GreycLab/CImg/issues/495","tags":[]}],"hasPoc":true,"ai":null}