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
Affects cimgSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium.
Data as of 24 Nov 2026, 22:28 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10cimgpkg:deb/ubuntu/cimg?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTScimgpkg:deb/ubuntu/cimg?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTScimgpkg:deb/ubuntu/cimg?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTScimgpkg:deb/ubuntu/cimg?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTScimgpkg:deb/ubuntu/cimg?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTScimgpkg:deb/ubuntu/cimg?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-117555 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-117555 (opens in a new tab)
- github.com/GreycLab/CImg (opens in a new tab)
- github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h (opens in a new tab)
- github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5 (opens in a new tab)
- github.com/GreycLab/CImg/issues/495 (opens in a new tab)
- vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp (opens in a new tab)