CVE-2026-66485

Uncontrolled Memory Allocation in GNU cpio

CVE-2026-66485 is fixed in 2 products on 1 platform, first by cpio 2.15+dfsg-2.1ubuntu0.1, released August 10, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0019
8th percentile

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

Where it's fixed

ProductFixed inFixReleased
Linux
cpio · Ubuntu 18.04.6 LTS (bionic) 2.12+dfsg-6ubuntu0.18.04.4+esm1 cpio 2.12+dfsg-6ubuntu0.18.04.4+esm1 Sep 3, 2026
cpio · Ubuntu 20.04 LTS (focal) 2.13+dfsg-2ubuntu0.4+esm1 cpio 2.13+dfsg-2ubuntu0.4+esm1 Sep 3, 2026
cpio · Ubuntu 22.04.1 LTS (jammy) 2.13+dfsg-7ubuntu0.2 cpio 2.13+dfsg-7ubuntu0.2 Sep 3, 2026
cpio · Ubuntu 24.04.5 LTS (noble) 2.15+dfsg-1ubuntu2.1 cpio 2.15+dfsg-1ubuntu2.1 Sep 3, 2026
cpio · Ubuntu 26.04.1 LTS (resolute) 2.15+dfsg-2.1ubuntu0.1 cpio 2.15+dfsg-2.1ubuntu0.1 Aug 10, 2026
cpio · opensuse-leap 16.0 2.15-160000.3.1 OPENSUSE-SU-2026:21747-1 Sep 3, 2026
cpio · sles 15.7 2.13-150400.3.10.1 SUSE-SU-2026:4012-1 Sep 7, 2026
cpio · sles 16.0 2.15-160000.3.1 SUSE-SU-2026:23612-1 Sep 3, 2026
cpio-win32 · Ubuntu 18.04.6 LTS (bionic) 2.12+dfsg-6ubuntu0.18.04.4+esm1 cpio-win32 2.12+dfsg-6ubuntu0.18.04.4+esm1 Sep 3, 2026
cpio-win32 · Ubuntu 20.04 LTS (focal) 2.13+dfsg-2ubuntu0.4+esm1 cpio-win32 2.13+dfsg-2ubuntu0.4+esm1 Sep 3, 2026
cpio-win32 · Ubuntu 22.04.1 LTS (jammy) 2.13+dfsg-7ubuntu0.2 cpio-win32 2.13+dfsg-7ubuntu0.2 Sep 3, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.