Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-117555 EUVD-2026-110833GHSA-88mq-c93j-j2w3

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

Published Oct 27, 2026 · Updated Nov 2, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
GreycLab CImg ≤ 4.0.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cimg No fix yet —
Debian 13 cimg No fix yet —
Debian 12 cimg No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cimg No fix yet —
Ubuntu 26.04 LTS cimg No fix yet —
Ubuntu 20.04 LTS cimg No fix yet —
Ubuntu 16.04 LTS cimg No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS cimg No fix yet —
Ubuntu Pro 22.04 LTS cimg No fix yet —
Ubuntu Pro 18.04 LTS cimg No fix yet —

References