Vulnerability in Gnu Cpio

CVE-2026-66485

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…

Affected products

Weakness classification (CWE)

References