Skip to main content

Cpio

7 CVEs product

Monthly

CVE-2026-66486 Aug 10, 10:25 MEDIUM PATCH This Month

Terminal escape sequence injection and output spoofing in GNU cpio's archive-listing mode (`cpio -it`) allows an attacker who supplies a crafted archive to manipulate terminal display or forge listing entries on the victim's screen. All versions of GNU cpio are affected per CPE data (cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*), reported by CERT-PL. No public exploit code has been identified at time of analysis and this CVE is not listed in the CISA KEV catalog; however, exploitation requires only basic knowledge of cpio archive format and ANSI escape sequences once a victim can be induced to inspect a crafted archive.

Code Injection Cpio Gnu
NVD VulDB
CVSS 4.0
4.6
EPSS
0.1%
CVE-2026-66485 Aug 10, 10:25 MEDIUM PATCH This Month

Stack overflow in GNU cpio's make_path function (src/makepath.c) causes a denial of service when a victim extracts a crafted archive. The function uses alloca() to allocate stack memory sized by an attacker-controlled pathname embedded in the archive, allowing unbounded stack growth and a process crash with no confidentiality or integrity impact. No active exploitation or public proof-of-concept has been identified at time of analysis; the upstream fix is available as a single commit.

Denial Of Service Cpio Gnu
NVD VulDB
CVSS 4.0
4.6
EPSS
0.1%
CVE-2026-66484 Aug 10, 10:25 MEDIUM PATCH This Month

Hard-link path traversal in GNU cpio's tar extraction mode enables an attacker-controlled archive to create hard links pointing to files outside the intended extraction directory, defeating the security boundary that `--no-absolute-filenames` is designed to enforce. All GNU cpio versions tracked under CPE cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:* are affected when processing tar archives in copy-in mode; the upstream fix exists only as a source commit with no tagged release confirmed at time of analysis. No active exploitation has been identified (no CISA KEV listing, no public exploit code), and exploitation requires a user to actively extract an attacker-supplied archive, materially constraining opportunistic risk.

Path Traversal Cpio Gnu
NVD VulDB
CVSS 4.0
4.6
EPSS
0.2%
CVE-2021-38185 Aug 08, 00:15 HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available.

RCE Integer Overflow Cpio Gnu
NVD GitHub
CVSS 3.1
7.8
EPSS
4.2%
CVE-2016-2037 Feb 22, 15:59 MEDIUM This Month

The cpio_safer_name_suffix function in util.c in cpio 2.11 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted cpio file. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Epss exploitation probability 19.4% and no vendor patch available.

Buffer Overflow Denial Of Service Debian Debian Linux Cpio +1
NVD
CVSS 3.0
6.5
EPSS
19.4%
CVE-2015-1197 Feb 19, 15:59 LOW POC Monitor

cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a symlink attack on a file in an archive. Rated low severity (CVSS 1.9). Public exploit code available and no vendor patch available.

Information Disclosure Cpio Gnu
NVD
CVSS 2.0
1.9
EPSS
3.4%
CVE-2014-9112 Dec 02, 16:59 MEDIUM POC This Month

Heap-based buffer overflow in the process_copy_in function in GNU Cpio 2.11 allows remote attackers to cause a denial of service via a large block value in a cpio archive. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow Denial Of Service Debian Debian Linux Cpio +1
NVD
CVSS 2.0
5.0
EPSS
1.3%
EPSS 0% CVSS 4.6
MEDIUM PATCH This Month

Terminal escape sequence injection and output spoofing in GNU cpio's archive-listing mode (`cpio -it`) allows an attacker who supplies a crafted archive to manipulate terminal display or forge listing entries on the victim's screen. All versions of GNU cpio are affected per CPE data (cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*), reported by CERT-PL. No public exploit code has been identified at time of analysis and this CVE is not listed in the CISA KEV catalog; however, exploitation requires only basic knowledge of cpio archive format and ANSI escape sequences once a victim can be induced to inspect a crafted archive.

Code Injection Cpio Gnu
NVD VulDB
EPSS 0% CVSS 4.6
MEDIUM PATCH This Month

Stack overflow in GNU cpio's make_path function (src/makepath.c) causes a denial of service when a victim extracts a crafted archive. The function uses alloca() to allocate stack memory sized by an attacker-controlled pathname embedded in the archive, allowing unbounded stack growth and a process crash with no confidentiality or integrity impact. No active exploitation or public proof-of-concept has been identified at time of analysis; the upstream fix is available as a single commit.

Denial Of Service Cpio Gnu
NVD VulDB
EPSS 0% CVSS 4.6
MEDIUM PATCH This Month

Hard-link path traversal in GNU cpio's tar extraction mode enables an attacker-controlled archive to create hard links pointing to files outside the intended extraction directory, defeating the security boundary that `--no-absolute-filenames` is designed to enforce. All GNU cpio versions tracked under CPE cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:* are affected when processing tar archives in copy-in mode; the upstream fix exists only as a source commit with no tagged release confirmed at time of analysis. No active exploitation has been identified (no CISA KEV listing, no public exploit code), and exploitation requires a user to actively extract an attacker-supplied archive, materially constraining opportunistic risk.

Path Traversal Cpio Gnu
NVD VulDB
EPSS 4% CVSS 7.8
HIGH POC PATCH This Week

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. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available.

RCE Integer Overflow Cpio +1
NVD GitHub
EPSS 19% CVSS 6.5
MEDIUM This Month

The cpio_safer_name_suffix function in util.c in cpio 2.11 allows remote attackers to cause a denial of service (out-of-bounds write) via a crafted cpio file. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Epss exploitation probability 19.4% and no vendor patch available.

Buffer Overflow Denial Of Service Debian +3
NVD
EPSS 3% CVSS 1.9
LOW POC Monitor

cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a symlink attack on a file in an archive. Rated low severity (CVSS 1.9). Public exploit code available and no vendor patch available.

Information Disclosure Cpio Gnu
NVD
EPSS 1% CVSS 5.0
MEDIUM POC This Month

Heap-based buffer overflow in the process_copy_in function in GNU Cpio 2.11 allows remote attackers to cause a denial of service via a large block value in a cpio archive. Rated medium severity (CVSS 5.0), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow Denial Of Service Debian +3
NVD

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy