Skip to content
OpenAdvisories
Medium SUSE-SU-2026:4012-1 3 CVEs

Security update for cpio

Published Sep 7, 2026 · Updated Sep 13, 2026

Summary

This update for cpio fixes the following issues:

- CVE-2026-66484: improper sanitization in the tar archive extraction functionality allows for the creation of hard
links outside intended directory via malicious tar archives (bsc#1274856).
- CVE-2026-66485: improper memory management in the `make_path` function when allocating memory allows for denial of
service via crafted archives (bsc#1274857).
- CVE-2026-66486: improper encoding or escaping of output in the archive member listing functionality allows for
terminal control sequence injection via crafted archive member names (bsc#1274858).

Fixed packages 4

ReleasePackageFixed in
SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 cpio 2.13-150400.3.10.1
SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 cpio 2.13-150400.3.10.1
SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 cpio 2.13-150400.3.10.1
SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 cpio 2.13-150400.3.10.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…

References

  • report
    https://bugzilla.suse.com/1274856
  • report
    https://bugzilla.suse.com/1274857
  • report
    https://bugzilla.suse.com/1274858
  • web
    https://www.suse.com/security/cve/CVE-2026-66484
  • web
    https://www.suse.com/security/cve/CVE-2026-66485
  • web
    https://www.suse.com/security/cve/CVE-2026-66486