Approved changes feed: RSS · Atom

cpe:2.3:a:greyclab:cimg:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGreyclab (29aaaaef-b98a-5796-a30b-7bc5f367b584)
ProductCimg (b2200bdf-e92b-5e8c-bfe9-c5398d44f70b)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-117555 vulnerable 2026-11-03 10:15:33.558290 GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()
MEDIUM (6.1)
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.
Published: 2026-10-27T13:07:51.020Z
Updated: 2026-11-02T19:13:16.930Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-47667 vulnerable 2026-07-29 00:55:00.333372 CImg Library: Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header
HIGH (7.5)
CImg Library is a C++ library for image processing. Prior to version 4.0.0 in `_load_analyze()`, the header_size field is read as an `unsigned int` from the first 4 bytes of an Analyze/NIfTI file and passed directly to `new unsigned char[header_size]` without being bounded against the actual file size. A value up to ~4 GB is accepted. If the subsequent `fread` returns `short` as it will for any malformed file), the function throws a `CImgIOException` and the allocated buffer is never freed. A 6-byte crafted file is sufficient to trigger an allocation of ~1.3 GB per call, with the full allocation leaked on every error path. The issue is reachable via `load_analyze()` and the generic `load()` when the file extension is .hdr, .img, or .nii. Version 4.0.0 fixes the issue.
Published: 2026-07-21T19:57:49.446Z
Updated: 2026-07-23T14:13:10.735Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42146 vulnerable 2026-06-08 08:03:15.952349 CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp
MEDIUM (5.5)
CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5.
Published: 2026-05-04T17:53:23.830Z
Updated: 2026-05-06T13:44:14.581Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42144 vulnerable 2026-06-08 08:03:15.951970 CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)
MEDIUM (6.1)
CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.
Published: 2026-05-04T17:51:38.144Z
Updated: 2026-05-05T14:14:38.921Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.