CVE-2026-66486

Publication date 10 August 2026

Last updated 1 September 2026


Ubuntu priority

Description

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

Status

Package Ubuntu Release Status
cpio 26.04 LTS resolute
Fixed in 2.15+dfsg-2.1ubuntu0.1
24.04 LTS noble
Fixed in 2.15+dfsg-1ubuntu2.1
22.04 LTS jammy
Fixed in 2.13+dfsg-7ubuntu0.2
20.04 LTS focal
Fixed in 2.13+dfsg-2ubuntu0.4+esm1
18.04 LTS bionic
Fixed in 2.12+dfsg-6ubuntu0.18.04.4+esm1
16.04 LTS xenial
Fixed in 2.11+dfsg-5ubuntu1.1+esm2
14.04 LTS trusty
Fixed in 2.11+dfsg-1ubuntu1.2+esm3

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
cpio

Severity score breakdown

CVSS version: CVSS v4.0

Base score 4.6 · Medium

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References

Related Ubuntu Security Notices (USN)

    • USN-8704-1
    • GNU cpio vulnerabilities
    • 31 August 2026

Other references


Access our resources on patching vulnerabilities