Files
vuln-cve/data/2026/47xxx/CVE-2026-47667.json
T

160 lines
6.7 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-47667",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"state": "PUBLISHED",
"assignerShortName": "GitHub_M",
"dateReserved": "2026-05-19T21:10:38.797Z",
"datePublished": "2026-07-21T19:57:49.446Z",
"dateUpdated": "2026-07-23T14:13:10.735Z"
},
"containers": {
"cna": {
"title": "CImg Library: Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header",
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-401",
"lang": "en",
"description": "CWE-401: Missing Release of Memory after Effective Lifetime",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-789",
"lang": "en",
"description": "CWE-789: Memory Allocation with Excessive Size Value",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-1284",
"lang": "en",
"description": "CWE-1284: Improper Validation of Specified Quantity in Input",
"type": "CWE"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"references": [
{
"name": "https://github.com/GreycLab/CImg/security/advisories/GHSA-rmfc-grgj-qwhv",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/GreycLab/CImg/security/advisories/GHSA-rmfc-grgj-qwhv"
},
{
"name": "https://github.com/GreycLab/CImg/issues/480",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/GreycLab/CImg/issues/480"
},
{
"name": "https://github.com/GreycLab/CImg/commit/6a69bf725ffd111a4c7dc61cc15e3661abd158ee",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/GreycLab/CImg/commit/6a69bf725ffd111a4c7dc61cc15e3661abd158ee"
}
],
"affected": [
{
"vendor": "GreycLab",
"product": "CImg",
"versions": [
{
"version": "< 4.0.0",
"status": "affected"
}
]
}
],
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-07-21T19:57:49.446Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"source": {
"advisory": "GHSA-rmfc-grgj-qwhv",
"discovery": "UNKNOWN"
}
},
"adp": [
{
"references": [
{
"url": "https://github.com/GreycLab/CImg/issues/480",
"tags": [
"exploit"
]
}
],
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-07-23T14:12:55.547375Z",
"id": "CVE-2026-47667",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-23T14:13:10.735Z"
}
}
]
}
}