# CVE-2026-66486: Improper Output Encoding in GNU cpio

- Severity: Medium 4.6 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-10T10:25:41.625Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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

(As written by CVE List.)

## Affected

- GNU cpio: up to 2.15

## References

- <https://cert.pl/en/posts/2026/08/CVE-2026-66484> (third-party-advisory)
- <https://git.savannah.gnu.org/cgit/cpio.git> (product)

## Sources

- CVE List: [CVE-2026-66486](https://www.cve.org/CVERecord?id=CVE-2026-66486), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-66486](https://nvd.nist.gov/vuln/detail/CVE-2026-66486), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-66486 · Whole record: https://cve.day/CVE-2026-66486.json · Rebuilt by cve.day 2026-11-25T22:59:31.986Z
