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.
CVE-2026-47667
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 65% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 35%
- KEV
- Not listed
Published
July 21, 2026
Last Modified
July 23, 2026
Advisory Details (3)
Auto-updated Jul 21, 2026Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header · Advisory · GreycLab/CImg · GitHub
https://github.com/GreycLab/CImg/security/advisories/GHSA-rmfc-grgj-qwhvOOM and memory leak via unbounded header_size in crafted Analyze/NIfTI file (_load_analyze) · Issue #480 · GreycLab/CImg · GitHub
https://github.com/GreycLab/CImg/issues/480commit 6a69bf725ffd (GreycLab/CImg)
Fix landed in GreycLab/CImg commit 6a69bf725ffd — awaiting tagged release
https://github.com/GreycLab/CImg/commit/6a69bf725ffd111a4c7dc61cc15e3661abd158eeWeakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 11× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-26 15:54 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 04:19 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:17 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 21:25 UTCEG score recompute
- 2026-07-21 20:15 UTCEG score recompute
- 2026-07-21 20:13 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-47667?
When was CVE-2026-47667 disclosed?
Is CVE-2026-47667 actively exploited?
What is the CVSS score of CVE-2026-47667?
How do I remediate CVE-2026-47667?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-47667
Is Your Infrastructure Affected by CVE-2026-47667?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.