| Name | CVE-2026-117555 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| cimg (PTS) | bookworm | 3.2.1+dfsg-1 | vulnerable |
| trixie | 3.5.2+dfsg-1+deb13u1 | vulnerable |
| forky, sid | 4.0.4+dfsg-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| cimg | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://github.com/GreycLab/CImg/issues/495
Fixed by: https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5 (v.4.0.7)
Crash in CLI tool, no security impact