Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-42144 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-190Integer Overflow or Wraparound[email protected]

Affected Products

ProductVersions
GreycLab CImg
< 4ca26bc

CPE

  • cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*
  • cpe:2.3:a:cimg:cimg_library:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 4ca26bcmoderate effort
  • Mitigation:low effort

    Do not load untrusted PNM/PGM/PPM files with CImg.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-42144
NVD Published Date:
May 4, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2026-42144 Details - Not Deferred