Skip to main content
← All vulnerabilities
CVE-2026-117555EUVD-2026-110833GHSA-88MQ-C93J-J2W3

GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub

Summary

The CImg library, a C++ image-processing header used by software that loads BMP images, is affected by this flaw. A specially crafted BMP file with an oversized width can cause the program to read past the bounds of heap memory, leading to crashes or exposure of memory contents in the decoded image.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • GreycLab CImg

    through 4.0.6

References 5

GitHub · GreycLab/CImg

vulncheck.com