vulnti.work

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 der…

Info
CVECVE-2026-66485
First seen2026-08-10 12:15 UTC
Disclosed2026-08-10 11:17 UTC
Last updated2026-08-10 12:15 UTC
Channel statusauto

Summary

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 ext…

In-depth triage · Auto channel

No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).

Lint boundary warnings (2)

The following non-blocking warnings were raised during the lint phase of this triage (e.g. reference URLs not yet on the allowlist). They do not affect entry usability and are disclosed for transparency (see DR-002).

  • REF_URL_NOT_ALLOWLISTED url not in allowlist: https://cert.pl/en/posts/2026/08/CVE-2026-66484
  • REF_URL_NOT_ALLOWLISTED url not in allowlist: https://git.savannah.gnu.org/cgit/cpio.git

Sources

  • NVD DATABASE

Original Links

Timeline

  1. nvd_ingest NVD