CVE-2026-66486 Improper Output Encoding in GNU cpio
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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
Upgrade path
14 packages: 4 fixed, 1 partially fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/cpio(Debian 12) | = 2.13+dfsg-7.1; = 2.14+dfsg-1; = 2.15+dfsg-1; = 2.15+dfsg-2 +2 more | No fix listed | No fix yet |
| debian/cpio(Debian 13) | = 2.15+dfsg-2; = 2.15+dfsg-2.1; All versions | No fix listed | No fix yet |
| debian/cpio(Debian 14) | = 2.15+dfsg-2; = 2.15+dfsg-2.1; All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/cpio(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| azure linux cpio(Azure Linux 3.0) | < 2.14-2; All versions | 2.14-2 | Partially fixed |
| GNU cpio | <= 2.15 | after 2.15 | Fixed |
| ubuntu/cpio(Ubuntu 22.04) | < 2.13+dfsg-7ubuntu0.2 | 2.13+dfsg-7ubuntu0.2 | Fixed |
| ubuntu/cpio(Ubuntu 24.04) | < 2.15+dfsg-1ubuntu2.1 | 2.15+dfsg-1ubuntu2.1 | Fixed |
| ubuntu/cpio(Ubuntu 26.04) | < 2.15+dfsg-2.1ubuntu0.1 | 2.15+dfsg-2.1ubuntu0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU cpio | <= 2.15 | No fix listed |
| redhat/cpio(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/cpio(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/cpio(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/cpio(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/cpio(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/cpio(Red Hat:hummingbird:1) | All versions | No fix listed |
| debian/cpio(Debian:12) | All versions | No fix listed |
| debian/cpio(Debian:12) | = 2.13+dfsg-7.1 | No fix listed |
| debian/cpio(Debian:12) | = 2.14+dfsg-1 | No fix listed |
| debian/cpio(Debian:12) | = 2.15+dfsg-1 | No fix listed |
| debian/cpio(Debian:12) | = 2.15+dfsg-2 | No fix listed |
| debian/cpio(Debian:12) | = 2.15+dfsg-2.1 | No fix listed |
| debian/cpio(Debian:13) | All versions | No fix listed |
| debian/cpio(Debian:13) | = 2.15+dfsg-2 | No fix listed |
| debian/cpio(Debian:13) | = 2.15+dfsg-2.1 | No fix listed |
| debian/cpio(Debian:14) | All versions | No fix listed |
| debian/cpio(Debian:14) | = 2.15+dfsg-2 | No fix listed |
| debian/cpio(Debian:14) | = 2.15+dfsg-2.1 | No fix listed |
| ubuntu/cpio(Ubuntu:22.04) | < 2.13+dfsg-7ubuntu0.2 | 2.13+dfsg-7ubuntu0.2 |
| ubuntu/cpio(Ubuntu:24.04) | < 2.15+dfsg-1ubuntu2.1 | 2.15+dfsg-1ubuntu2.1 |
| ubuntu/cpio(Ubuntu:26.04) | < 2.15+dfsg-2.1ubuntu0.1 | 2.15+dfsg-2.1ubuntu0.1 |
| azure linux cpio(Azure Linux:3.0) | All versions | No fix listed |
| azure linux cpio(Azure Linux:3.0) | < 2.14-2 | 2.14-2 |
References
- MSRC Security Update Guide vendor-advisory
- Security Update patch
- cert.pl third-party-advisory
- git.savannah.gnu.org product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2513084 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-66486 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8704-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-55244 third-party-advisory