CVE-2026-66485: gnu cpio
Vulnerability summary
CVE-2026-66485 is a medium (CVSS 4.6) vulnerability in gnu cpio. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 10 · Related 9Timeline
- 10-08-2026PublishedVulnerability first disclosed.
- 10-08-2026Last modifiedVulnerability information updated.
Description
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. This issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9
CVSS metrics
5 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.6MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated4.6MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST4.6MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
+0.05 pp
From 0.13% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- cpioAll versions (No fix recorded)
Gnu1 product
- cpio≤ 2.15
Redhat1 product
- cpio< 0:2.15-10.3.hum1
Ubuntu1 product
- cpio< 2.11+dfsg-1ubuntu1.2+esm3 | < 2.11+dfsg-5ubuntu1.1+esm2 | < 2.12+dfsg-6ubuntu0.18.04.4+esm1 | < 2.13+dfsg-2ubuntu0.4+esm1 | < 2.13+dfsg-7ubuntu0.2 | < 2.15+dfsg-1ubuntu2.1 | < 2.15+dfsg-2.1ubuntu0.1
4 vendors · 4 products
References
13 linksShow all 13 references
- images.redhat.comARTICLE