CVE record · CVE-2026-42146

CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp

CVSS 5.5 MediumEPSS 0.0018 · 7th percentile

Published by the CVE Program (CNA: GitHub_M) at 4 May 2026, 17:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
GreycLab CImg
  • affected < c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3
Identifiers
CVE-2026-42146
CNA
GitHub_M
Weakness (CWE)
CWE-789
Published
4 May 2026
Updated
6 May 2026

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0018, the 7th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the CVE Program, published 4 May 2026. New records show when each source confirmed them.

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.