Advisory

USN-8704-1

Also known as: CVE-2026-66484, CVE-2026-66485, CVE-2026-66486

Summary

cpio vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2026-08-31 13:12 UTC
Modified
2026-09-01 15:56 UTC

Affected packages and fixes

cpio

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.13+dfsg-7ubuntu0.2 (ecosystem)

Fixed versions

2.13+dfsg-7ubuntu0.2

Fix

  • Fixed version 2.13+dfsg-7ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cpio

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.15+dfsg-1ubuntu2.1 (ecosystem)

Fixed versions

2.15+dfsg-1ubuntu2.1

Fix

  • Fixed version 2.15+dfsg-1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cpio

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.15+dfsg-2.1ubuntu0.1 (ecosystem)

Fixed versions

2.15+dfsg-2.1ubuntu0.1

Fix

  • Fixed version 2.15+dfsg-2.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences