Vulnerability · Published Oct 27, 2026 · Assigned by VulnCheck
CVE-2026-117555GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()
Medium 6.1
In plain English
A medium-severity integer overflow in CImg from GreycLab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.1%top 97.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cimg | no fix listed | DEBIAN-CVE-2026-117555 |
| Debian:13 | cimg | no fix listed | DEBIAN-CVE-2026-117555 |
| Debian:14 | cimg | no fix listed | DEBIAN-CVE-2026-117555 |
| Ubuntu:26.04:LTS | cimg | no fix listed | UBUNTU-CVE-2026-117555 |
| Ubuntu:26.10 | cimg | no fix listed | UBUNTU-CVE-2026-117555 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
References
- GitHub Issue #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
- VulnCheck Advisory: GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp() third-party-advisory