
CVE catalog
CVE-2026-66486
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 wi
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cpio | sid | 2.15+dfsg-2.1 | vulnerable |
| Debian | cpio | forky | 2.15+dfsg-2.1 | vulnerable |
| Debian | cpio | trixie | 2.15+dfsg-2 | vulnerable |
| Debian | cpio | bookworm | 2.13+dfsg-7.1 | vulnerable |
| Ubuntu | cpio | noble | 2.15+dfsg-1ubuntu2.1 | fixed |
| Ubuntu | cpio | pro | 2.12+dfsg-9 | vulnerable |
| Ubuntu | cpio | pro | 2.12+dfsg-9ubuntu1 | vulnerable |
| Ubuntu | cpio | pro | 2.13+dfsg-1 | vulnerable |
| Ubuntu | cpio | pro | 2.13+dfsg-2 | vulnerable |
| Ubuntu | cpio | pro | 2.13+dfsg-2ubuntu0.3 | vulnerable |
| Ubuntu | cpio | pro | 2.13+dfsg-2ubuntu0.4 | vulnerable |
| Ubuntu | cpio | pro | 2.13+dfsg-2ubuntu0.4+esm1 | fixed |
| Ubuntu | cpio | 22.04 | 2.13+dfsg-4ubuntu4 | vulnerable |
| Ubuntu | cpio | 22.04 | 2.13+dfsg-7 | vulnerable |
| Ubuntu | cpio | 22.04 | 2.13+dfsg-7ubuntu0.1 | vulnerable |
| Ubuntu | cpio | 22.04 | 2.13+dfsg-7ubuntu0.2 | fixed |
| Ubuntu | cpio | 24.04 | 2.13+dfsg-7.1 | vulnerable |
| Ubuntu | cpio | 24.04 | 2.14+dfsg-1 | vulnerable |
| Ubuntu | cpio | 24.04 | 2.15+dfsg-1 | vulnerable |
| Ubuntu | cpio | 24.04 | 2.15+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | cpio | 24.04 | 2.15+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | cpio | 24.04 | 2.15+dfsg-1ubuntu2.1 | fixed |
| Ubuntu | cpio | 26.04 | 2.15+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | cpio | 26.04 | 2.15+dfsg-2.1 | vulnerable |
| Ubuntu | cpio | 26.04 | 2.15+dfsg-2.1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cpio | source | sid | (unfixed) | not yet assigned | Not reported | [1144387] |
| Debian | cpio | source | forky | (unfixed) | not yet assigned | Not reported | [1144387] |
| Debian | cpio | source | trixie | (unfixed) | not yet assigned | Not reported | [1144387] |
| Debian | cpio | source | bookworm | (unfixed) | not yet assigned | Not reported | [1144387] |
| Ubuntu | cpio | deb | noble | 2.15+dfsg-1ubuntu2.1 | Not reported | Not reported | Not reported |
| Ubuntu | cpio | deb | pro | 2.13+dfsg-2ubuntu0.4+esm1 | Not reported | UBUNTU-CVE-2026-66486 | Not reported |
| Ubuntu | cpio | deb | 22.04 | 2.13+dfsg-7ubuntu0.2 | Not reported | UBUNTU-CVE-2026-66486 | Not reported |
| Ubuntu | cpio | deb | 24.04 | 2.15+dfsg-1ubuntu2.1 | Not reported | UBUNTU-CVE-2026-66486 | Not reported |
| Ubuntu | cpio | deb | 26.04 | 2.15+dfsg-2.1ubuntu0.1 | Not reported | UBUNTU-CVE-2026-66486 | Not reported |
Notes
[trixie] cpio: Minor issue [bookworm] cpio: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [cpio]Affected
Details (2)
2.13+dfsg-7.1· amd64 · bookwormAffected
nvd · cpio · debian · bookworm; nvd · cpio · debian · 12
2.13+dfsg-7.1· arm64 · bookwormAffected
nvd · cpio · debian · bookworm; nvd · cpio · debian · 12
- [cpio-win32]Affected
Source package: [cpio]
Details (2)
2.13+dfsg-7.1· all · bookwormAffected
nvd · cpio · debian · bookworm; nvd · cpio · debian · 12
2.13+dfsg-7.1· all · bookwormAffected
nvd · cpio · debian · bookworm; nvd · cpio · debian · 12
[Debian 13 (Trixie)]
- [cpio]Affected
Details (2)
2.15+dfsg-2· amd64 · trixieAffected
nvd · cpio · debian · 13
2.15+dfsg-2· arm64 · trixieAffected
nvd · cpio · debian · 13
Observed:
References
- [https://cert.pl/en/posts/2026/08/CVE-2026-66484]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11618-1.json]
- [https://git.savannah.gnu.org/cgit/cpio.git]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-66486]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-66486]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-66486]
- [https://security-tracker.debian.org/tracker/CVE-2026-66486]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-66486.json]
- [https://ubuntu.com/security/notices/USN-8704-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2722.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]