Heap Out-of-Bounds Read Vulnerability in CImg by GreycLab
CVE-2026-117555
6.9MEDIUM
What is CVE-2026-117555?
CImg, a widely used library for image processing, is affected by a vulnerability that results in a heap out-of-bounds read in the _load_bmp() function located in CImg.h. This issue is triggered by an integer overflow when processing the row byte count of a crafted BMP file. Attackers can exploit this vulnerability by supplying a specially designed BMP file with an oversized header width, potentially leading to application crashes or exposing sensitive heap memory content in the decoded image.
Affected Version(s)
CImg 0 <= 4.0.6
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
HaiND from the Post and Telecommunication Institute of Technology
