CVE-2026-66486
published medium CVSS 4.0 · 4.6Improper Output Encoding in GNU cpio
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU | — | cpio0 through 2.15 · Other versions: unaffected | Affected | Not stated | CERT-PL |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned; Not Affected | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cpiox86_64 | Advisory build | 2.11-36.25.1 | SUSE-SU-2026:3959-1 |
| Ubuntu | bionic | cpio | Advisory build | 2.12+dfsg-6ubuntu0.18.04.4+esm1 | USN-8704-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpioaarch64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpioppc64le | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpios390x | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
Show 50 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | cpiox86_64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-16 | cpioaarch64 | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpioppc64le | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpios390x | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpiox86_64 | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-5 | cpioaarch64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-5 | cpioppc64le | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-5 | cpios390x | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-5 | cpiox86_64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpioaarch64 | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpioppc64le | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpios390x | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpiox86_64 | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioaarch64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioppc64le | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpios390x | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpiox86_64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| Ubuntu | focal | cpio | Advisory build | 2.13+dfsg-2ubuntu0.4+esm1 | USN-8704-1 |
| Ubuntu | jammy | cpio | Advisory build | 2.13+dfsg-7ubuntu0.2 | USN-8704-1 |
| Ubuntu | noble | cpio | Advisory build | 2.15+dfsg-1ubuntu2.1 | USN-8704-1 |
| Ubuntu | resolute | cpio | Advisory build | 2.15+dfsg-2.1ubuntu0.1 | USN-8704-1 |
| Ubuntu | trusty | cpio | Advisory build | 2.11+dfsg-1ubuntu1.2+esm3 | USN-8704-1 |
| Ubuntu | xenial | cpio | Advisory build | 2.11+dfsg-5ubuntu1.1+esm2 | USN-8704-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpio-langnoarch | Advisory build | 2.11-36.25.1 | SUSE-SU-2026:3959-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpio-langnoarch | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpio-mtaarch64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpio-mtppc64le | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpio-mts390x | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-15-SP7 | cpio-mtx86_64 | Advisory build | 2.13-150400.3.10.1 | SUSE-SU-2026:4012-1 |
| SUSE / openSUSE | SLE-16 | cpio-langnoarch | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpio-mtaarch64 | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpio-mtppc64le | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpio-mts390x | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | SLE-16 | cpio-mtx86_64 | Advisory build | 2.15-160000.3.1 | SUSE-SU-2026:23612-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpio-langnoarch | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpio-mtaarch64 | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpio-mtppc64le | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpio-mts390x | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cpio-mtx86_64 | Advisory build | 2.15-160000.3.1 | OPENSUSE-SU-2026:21747-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langaarch64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langppc64le | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langs390x | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-langx86_64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtaarch64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtppc64le | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mts390x | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpio-mtx86_64 | Advisory build | 2.15-8.1 | OPENSUSE-SU-2026:11618-1 |
| Ubuntu | bionic | cpio-win32 | Advisory build | 2.12+dfsg-6ubuntu0.18.04.4+esm1 | USN-8704-1 |
| Ubuntu | focal | cpio-win32 | Advisory build | 2.13+dfsg-2ubuntu0.4+esm1 | USN-8704-1 |
| Ubuntu | jammy | cpio-win32 | Advisory build | 2.13+dfsg-7ubuntu0.2 | USN-8704-1 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU | cpio | 0 through 2.15 (affected · custom)Default: unaffected | CERT-PL · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
2Provider assertions
2CERT-PL · cna
Improper Output Encoding in GNU cpio
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d0ce2bd9befe8aabcbdcc3281585e3737f8fe77d00402de00e3a3fc1e19900ba
- Ingested
- 23 Sep 2026, 09:26:54 UTC
- Source record
- Official CVE record