Approved changes feed: RSS · Atom

cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGnu (575dd98a-a14a-5d9e-a2eb-97d38d86fcb9)
ProductCpio (a9731328-2994-560b-b361-f9147db207dc)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/cpio purl2cpe 2026-06-01 10:11:53.393203
pkg:deb/ubuntu/cpio purl2cpe 2026-06-01 10:11:53.393206
pkg:github/distrotech/cpio purl2cpe 2026-06-01 10:11:53.393208
pkg:github/gitgnu/gnu_cpio purl2cpe 2026-06-01 10:11:53.393211
pkg:github/sailfishos-mirror/cpio purl2cpe 2026-06-01 10:11:53.393214
pkg:github/sshedi/cpio purl2cpe 2026-06-01 10:11:53.393217
pkg:gitlab/redhat/cpio purl2cpe 2026-06-01 10:11:53.393219
pkg:gnu/cpio purl2cpe 2026-06-01 10:11:53.393222
pkg:rpm/centos/cpio purl2cpe 2026-06-01 10:11:53.393225
pkg:rpm/fedora/cpio purl2cpe 2026-06-01 10:11:53.393227
pkg:rpm/opensuse/cpio purl2cpe 2026-06-01 10:11:53.393230

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-66486 vulnerable 2026-09-16 04:32:55.274120 Improper Output Encoding in GNU cpio
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
Published: 2026-08-10T10:25:41.625Z
Updated: 2026-08-10T10:35:09.032Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-66485 vulnerable 2026-09-16 04:32:55.037239 Uncontrolled Memory Allocation in GNU cpio
GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service. This issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9
Published: 2026-08-10T10:25:34.337Z
Updated: 2026-08-10T10:56:56.427Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-66484 vulnerable 2026-09-16 04:32:54.780854 Path Traversal in GNU cpio
GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed to the link_to_name function without equivalent sanitization before calling link function. A tar archive provided by an attacker, containing a hard-link entry whose linkname is set to an absolute path outside the extraction directory, can cause cpio to create a hard link to an existing file outside the intended extraction directory, breaking the expected guarantee of --no-absolute-filenames and allowing archive-controlled linkage to external files. This issue has been fixed in commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad
Published: 2026-08-10T10:25:27.901Z
Updated: 2026-08-10T10:57:14.423Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-38185 vulnerable 2026-06-08 05:32:55.658748 Details available
GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.
Published: 2021-08-07T00:00:00.000Z
Updated: 2025-06-09T15:11:29.808Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-14866 vulnerable 2026-06-08 05:12:56.317016 Details available
MEDIUM (6.7)
In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.
Published: 2020-01-07T16:53:51.000Z
Updated: 2025-02-13T16:27:23.692Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2010-4226 vulnerable 2026-06-08 04:55:19.501522 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2010-0624 vulnerable 2026-06-08 04:52:03.608654 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2005-1229 vulnerable 2026-06-08 04:48:25.991536 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2005-1111 vulnerable 2026-06-08 04:48:25.449719 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.