πŸ” CVE Alert

CVE-2026-66485

UNKNOWN 0.0

Uncontrolled Memory Allocation in GNU cpio

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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

CWE CWE-789
Vendor gnu
Product cpio
Published Aug 10, 2026
Last Updated Aug 10, 2026
Stay Ahead of the Next One

Get instant alerts for gnu cpio

Be the first to know when new unknown vulnerabilities affecting gnu cpio are published β€” delivered to Slack, Telegram or Discord.

Get Free Alerts β†’ Free Β· No credit card Β· 60 sec setup

Affected Versions

GNU / cpio
0 ≀ 2.15

References

NVD β†— CVE.org β†— EPSS Data β†—
cert.pl: https://cert.pl/en/posts/2026/08/CVE-2026-66484 git.savannah.gnu.org: https://git.savannah.gnu.org/cgit/cpio.git

Credits

MichaΕ‚ Majchrowicz (AFINE Team) Marcin Wyczechowski (AFINE Team)