{"id":"CVE-2026-66485","published":"2026-08-10T10:25:34Z","modified":"2026-08-10T10:56:56Z","title":"Uncontrolled Memory Allocation in GNU cpio","vendor":"GNU","product":"cpio","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00132,"percentile":0.01339,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"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"]}],"priority":{"score":3.5,"factors":[{"name":"EPSS percentile","points":0.27},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"gnu","affectedVersions":[{"vendor":"GNU","product":"cpio","versions":["<= 2.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-10T10:56:48.503812Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55255","exploited":false,"provenance":"source"}}