# CVE-2026-117555: GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-27T13:07:51.020Z
- Modified: 2026-11-02T20:17:35.417Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- GreycLab CImg: up to 4.0.6

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://github.com/GreycLab/CImg/issues/495> (issue-tracking)
- <https://github.com/GreycLab/CImg> (product)
- <https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5> (patch)
- <https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659> (technical-description)
- <https://www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-117555](https://www.cve.org/CVERecord?id=CVE-2026-117555), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-117555](https://nvd.nist.gov/vuln/detail/CVE-2026-117555), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-117555 · Whole record: https://cve.day/CVE-2026-117555.json · Rebuilt by cve.day 2026-11-25T22:59:47.361Z
