Advisory

UBUNTU-CVE-2026-66486

Also known as: CVE-2026-66486

Summary

The record has no summary.

Details

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 archive containing member names with embedded newline characters or ANSI escape sequences, causing forged listing entries or terminal control sequence injection when the listing is displayed. This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30

Severity

Not rated by the source.

Dates

Published
2026-08-10 11:17 UTC
Modified
2026-09-01 15:47 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