CVE & CISA-KEV Catalog

CVE-2026-47667

HIGH
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
cimgDebian
Fixed in:4.0.4+dfsg-1CVE-2026-47667

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.61%probability of exploitation in 30 days
48thpercentile

Moderate risk: more likely to be exploited than 48% of all known CVEs.

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.360%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.019%--

Common questions

How do I fix CVE-2026-47667?

Upgrade cimg on debian unstable to 4.0.4+dfsg-1 or later.

Is CVE-2026-47667 being actively exploited?

Not that we know of. CVE-2026-47667 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.61% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.

How severe is CVE-2026-47667?

CVE-2026-47667 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-47667 affect?

Published advisories record a fix for cimg (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-47667
CVE-2026-47667 severity badge

Markdown

[![CVE-2026-47667](https://tridentstack.com/cve/badge/CVE-2026-47667.svg)](https://tridentstack.com/cve/CVE-2026-47667)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-47667"><img src="https://tridentstack.com/cve/badge/CVE-2026-47667.svg" alt="CVE-2026-47667"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-23.