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 64% 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
- 36%
- 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/6a69bf725ffd111a4c7dc61cc15e3661abd158eeAffected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cimg | 2.9.4+dfsg-2 ... 3.5.2+dfsg-2 (15 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cimg | 3.2.1+dfsg-1 ... 4.0.4+dfsg-1 (6 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cimg | 3.5.2+dfsg-1, 3.5.2+dfsg-1+deb13u1, 3.5.2+dfsg-2, 4.0.4+dfsg-1 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cimg | 3.5.2+dfsg-1, 3.5.2+dfsg-2 | 4.0.4+dfsg-1 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 47× 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-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:00 UTCEG score recompute
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-09 11:18 UTCEG score recompute
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 22:34 UTCEG score recompute
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 20:05 UTCEG score recompute
- 2026-09-05 08:31 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-02 00:56 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-08-31 01:26 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 02:13 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 22:51 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 21:28 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 18:19 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
Show 62 moreShow fewer
- 2026-08-24 18:48 UTCEG score recompute
- 2026-08-23 07:38 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 08:28 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 09:18 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 22:34 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 20:54 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 20:56 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 21:46 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:10 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 11:01 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 00:17 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 01:07 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 14:23 UTCEG score recompute
- 2026-08-11 02:48 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 16:05 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:56 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 17:47 UTCEG score recompute
- 2026-08-06 18:37 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 19:27 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 20:14 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 21:04 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 10:19 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 11:10 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 00:25 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 12:49 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 02:01 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 15:13 UTCEG score recompute
- 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
See which npm, PyPI, Go, and Maven packages are affected by 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.