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
This issue has been fixed in commit 2ff9600c9ef32e88759843cdbde74c8db5ae9b30
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 10 Aug 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 10 Aug 2026 10:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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 | |
| Title | Improper Output Encoding in GNU cpio | |
| First Time appeared |
Gnu
Gnu cpio |
|
| Weaknesses | CWE-116 | |
| CPEs | cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gnu
Gnu cpio |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CERT-PL
Published:
Updated: 2026-08-10T10:35:09.032Z
Reserved: 2026-07-27T11:32:08.682Z
Link: CVE-2026-66486
Updated: 2026-08-10T10:35:05.415Z
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses