Files
vuln-cve/data/2026/66xxx/CVE-2026-66485.json
T

198 lines
8.3 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-66485",
"assignerOrgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6",
"state": "PUBLISHED",
"assignerShortName": "CERT-PL",
"dateReserved": "2026-07-27T11:32:08.682Z",
"datePublished": "2026-08-10T10:25:34.337Z",
"dateUpdated": "2026-08-10T10:56:56.427Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6",
"shortName": "CERT-PL",
"dateUpdated": "2026-08-10T10:25:34.337Z"
},
"title": "Uncontrolled Memory Allocation in GNU cpio",
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"cweId": "CWE-789",
"description": "CWE-789 Memory allocation with excessive size value",
"type": "CWE"
}
]
}
],
"affected": [
{
"vendor": "GNU",
"product": "cpio",
"repo": "https://git.savannah.gnu.org/cgit/cpio.git",
"modules": [
"make_path"
],
"programFiles": [
"makepath.c"
],
"programRoutines": [
{
"name": "make_path"
}
],
"versions": [
{
"status": "affected",
"version": "0",
"lessThanOrEqual": "2.15",
"versionType": "custom"
}
],
"defaultStatus": "unaffected"
}
],
"cpeApplicability": [
{
"operator": "OR",
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*",
"versionStartIncluding": "0",
"versionEndIncluding": "2.15"
}
]
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service.\n\nThis issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service.<br><br>This issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9"
}
]
}
],
"tags": [
"x_open-source"
],
"references": [
{
"url": "https://cert.pl/en/posts/2026/08/CVE-2026-66484",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://git.savannah.gnu.org/cgit/cpio.git",
"tags": [
"product"
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV4_0": {
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "ACTIVE",
"vulnConfidentialityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"subIntegrityImpact": "NONE",
"vulnAvailabilityImpact": "LOW",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"valueDensity": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"version": "4.0",
"baseSeverity": "MEDIUM",
"baseScore": 4.6,
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
}
],
"credits": [
{
"lang": "en",
"value": "Michał Majchrowicz (AFINE Team)",
"type": "finder"
},
{
"lang": "en",
"value": "Marcin Wyczechowski (AFINE Team)",
"type": "finder"
}
],
"source": {
"discovery": "EXTERNAL"
},
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-08-10T10:56:48.503812Z",
"id": "CVE-2026-66485",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"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-08-10T10:56:56.427Z"
}
}
]
}
}