USN-8704-1

Type: Security
Severity: Medium
Published: 2026-08-31
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that cpio incorrectly sanitized hard-link targets when extracting tar archives in copy-in mode. If a user or automated system were tricked into extracting a specially crafted tar archive, an attacker could possibly use this issue to create hard links to files outside the extraction directory, even when using the --no-absolute-filenames option. (CVE-2026-66484) It was discovered that cpio did not properly bound the stack memory allocated for pathnames during archive extraction. If a user or automated system were tricked into extracting a specially crafted cpio archive, an attacker could possibly use this issue to cause cpio to crash, resulting in a denial of service. (CVE-2026-66485) It was discovered that cpio did not properly escape archive member names when listing archive contents. If a user or automated system were tricked into listing a specially crafted archive, an attacker could possibly use this issue to inject misleading output or malicious terminal control sequences. (CVE-2026-66486) Update Instructions: Run `sudo pro fix USN-8704-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: cpio - 2.13+dfsg-2ubuntu0.4+esm1 cpio-win32 - 2.13+dfsg-2ubuntu0.4+esm1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T06:52:44.004Z UTC. Last updated 2026-09-02T18:59:16.831Z UTC.

Upstream Advisory

Affected Packages

  • cpio 2.13+dfsg-2ubuntu0.4+esm1-2.13+dfsg-2ubuntu0.4+esm1

  • cpio-win32 2.13+dfsg-2ubuntu0.4+esm1-2.13+dfsg-2ubuntu0.4+esm1

  • cpio 2.15+dfsg-2.1ubuntu0.1-2.15+dfsg-2.1ubuntu0.1

  • cpio 2.13+dfsg-7ubuntu0.2-2.13+dfsg-7ubuntu0.2

  • cpio-win32 2.13+dfsg-7ubuntu0.2-2.13+dfsg-7ubuntu0.2

  • cpio 2.15+dfsg-1ubuntu2.1-2.15+dfsg-1ubuntu2.1

Interested in being alerted when there are new versions of cpio and the other packages? Set up an alert.
USN-8704-1: GNU cpio vulnerabilities | Package Alert