CVE-2026-66485Uncontrolled Memory Allocation in GNU cpio
Updated under an hour ago ()
Does this affect you?
It affects GNU cpio. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 4.6 MEDIUM (v4.0, CNA)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
- Weakness (CWE)
- CWE-789
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- CERT-PL
- NVD analysis
- Deferred
- Record last updated
- Aug 10, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
GNU cpio gnu:cpio (from the name) | through 2.15 | CNA record |
References
- https://cert.pl/en/posts/2026/08/CVE-2026-66484third-party-advisory
- https://git.savannah.gnu.org/cgit/cpio.gitproduct
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.