CVE-2026-42144

cimg: CImg Library is a C++ library for image processing

CVE-2026-42144 is fixed in 13 products on 1 platform, first by DEBIAN-CVE-2026-42144, released May 15, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0014
3rd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
CImg · Fedora 43 1:3.7.6-2.fc43 FEDORA-2026-86596F9CBC May 20, 2026
CImg-devel · Fedora 43 1:3.7.6-2.fc43 FEDORA-2026-86596F9CBC May 20, 2026
cimg · Debian 13.5 (trixie) 3.5.2+dfsg-1+deb13u1 DEBIAN-CVE-2026-42144 May 15, 2026
cimg · Debian 14 3.5.2+dfsg-2 DEBIAN-CVE-2026-42144 May 15, 2026
gmic · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-debuginfo · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-debugsource · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-devel · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-gimp · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-libs · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
gmic-libs-debuginfo · Fedora 43 3.7.6-3.fc43 FEDORA-2026-86596F9CBC May 20, 2026
krita · Fedora 43 5.2.16-2.fc43 FEDORA-2026-45B342F7C1 Jun 19, 2026
krita-debuginfo · Fedora 43 5.2.16-2.fc43 FEDORA-2026-45B342F7C1 Jun 19, 2026
krita-debugsource · Fedora 43 5.2.16-2.fc43 FEDORA-2026-45B342F7C1 Jun 19, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.