Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2026-47667
Deferred
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-21 Jul, 2026 | 20:17
Updated At-23 Jul, 2026 | 16:04

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
N/A
Type: Secondary
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Type: N/A
Version:
Base score:
Base severity: N/A
Vector:
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-401Secondarysecurity-advisories@github.com
CWE-789Secondarysecurity-advisories@github.com
CWE-1284Secondarysecurity-advisories@github.com
CWE ID: CWE-401
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-789
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-1284
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/GreycLab/CImg/commit/6a69bf725ffd111a4c7dc61cc15e3661abd158eesecurity-advisories@github.com
N/A
https://github.com/GreycLab/CImg/issues/480security-advisories@github.com
N/A
https://github.com/GreycLab/CImg/security/advisories/GHSA-rmfc-grgj-qwhvsecurity-advisories@github.com
N/A
https://github.com/GreycLab/CImg/issues/480134c704f-9b21-4f2e-91b3-4a467353bcc0
N/A
Hyperlink: https://github.com/GreycLab/CImg/commit/6a69bf725ffd111a4c7dc61cc15e3661abd158ee
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/GreycLab/CImg/issues/480
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/GreycLab/CImg/security/advisories/GHSA-rmfc-grgj-qwhv
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/GreycLab/CImg/issues/480
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Resource: N/A
Change History
0Changes found

Details not found