CVE-2026-117555
GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-190 |
| Vendor | greyclab |
| Product | cimg |
| Published | Oct 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for greyclab cimg
Be the first to know when new medium vulnerabilities affecting greyclab cimg are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
GreycLab / CImg
0 โค 4.0.6
References
github.com: https://github.com/GreycLab/CImg/issues/495 github.com: https://github.com/GreycLab/CImg github.com: https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5 github.com: https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659 vulncheck.com: https://www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp
Credits
HaiND from the Post and Telecommunication Institute of Technology