Summary
This update for cpio fixes the following issues:
- CVE-2026-66484: path traversal allows creating hard links outside intended directory via malicious tar archives
(bsc#1274856).
- CVE-2026-66485: denial of service via uncontrolled memory allocation from crafted archives (bsc#1274857).
- CVE-2026-66486: terminal control sequence injection via crafted archive member names (bsc#1274858).
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | cpio | 2.11-36.25.1 |
Vulnerabilities 3
-
Medium 4.6
Path Traversal in GNU cpio
GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed t…
-
Medium 4.6
Uncontrolled Memory Allocation in GNU cpio
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. …
-
Medium 4.6
Improper Output Encoding in GNU cpio
GNU cpio is vulnerable to improper encoding or escaping of output in its archive member listing functionality. When listing archive members via cpio -it, member names are printed directly to output without quoting or escaping. An attacker can craft a cpio arc…