Integer overflow in Greyclab Cimg
CVE-2026-117555
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 class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/GreycLab/CImg/issues/495 (issue-tracking)
- github.com/GreycLab/CImg (product)
- github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5 (patch)
- github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h (technical-description)
- www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-rea… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-117555?
- CVE-2026-117555 is a medium-severity vulnerability in Greyclab Cimg, classified under Integer Overflow or Wraparound. CVSS score: 6.1/10. Published 2026-10-27.
- How severe is CVE-2026-117555?
- Medium severity. CVSS v3 base score is 6.1 out of 10.