Home / Gnu / Cpio / CVE-2005-1111
CVE-2005-1111: is it exploited, and which versions of Gnu Cpio are affected and fixed?
CVE-2005-1111 is a link following (a symlink lets an attacker reach other files) vulnerability in Gnu Cpio. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: cpio through 2.6, debian linux 3.0, debian linux 3.1 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.7, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2005-1111?
Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete.
From the CVE record by mitre, last updated August 7, 2024, 21:35 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | cpio | through 2.6 | application |
| debian | debian linux | 3.0 | operating system |
| debian | debian linux | 3.1 | operating system |
| canonical | ubuntu linux | 4.10 | operating system |
| canonical | ubuntu linux | 5.04 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:12 UTC.
How severe is CVE-2005-1111?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
| Low 3.7 | CVSS 2.0 | AV:L/AC:H/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2005-1111 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 25.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
- 20050413 cpio TOCTOU file-permissions vulnerability mailing-list, x_refsource_BUGTRAQ
- 17532 third-party-advisory, x_refsource_SECUNIA
- SCOSA-2006.2 vendor-advisory, x_refsource_SCO
- FreeBSD-SA-06:03 vendor-advisory, x_refsource_FREEBSD
- 17123 third-party-advisory, x_refsource_SECUNIA
- 15725 vdb-entry, x_refsource_OSVDB
- RHSA-2005:378 vendor-advisory, x_refsource_REDHAT
- 16998 third-party-advisory, x_refsource_SECUNIA
- 13159 vdb-entry, x_refsource_BID
- DSA-846 vendor-advisory, x_refsource_DEBIAN
- USN-189-1 vendor-advisory, x_refsource_UBUNTU
- SUSE-SR:2006:010 vendor-advisory, x_refsource_SUSE
- 20117 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:9783 vdb-entry, signature, x_refsource_OVAL
- oval:org.mitre.oval:def:358 vdb-entry, signature, x_refsource_OVAL
- RHSA-2005:806 vendor-advisory, x_refsource_REDHAT
- SCOSA-2005.32 vendor-advisory, x_refsource_SCO
- 18395 third-party-advisory, x_refsource_SECUNIA
- 18290 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- April 16, 2005
- Published
- April 16, 2005, 04:00 UTC
- CVE record updated
- August 7, 2024, 21:35 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:12 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cpio?
- Aug 10, 2026CVE-2026-66486 GNU cpio: improper output encoding
- Aug 10, 2026CVE-2026-66485 GNU cpio: memory Allocation with Excessive Size Value
- Aug 10, 2026CVE-2026-66484 GNU cpio: path traversal (reading or writing files outside the intended folder)
- Aug 7, 2021CVE-2021-38185 Gnu Cpio: integer overflow
- Feb 22, 2016CVE-2016-2037 Gnu Cpio: memory corruption (buffer overflow)
- Feb 19, 2015CVE-2015-1197 Gnu Cpio: n/a
- Dec 2, 2014CVE-2014-9112 Gnu Cpio: memory corruption (buffer overflow)
- Feb 6, 2014CVE-2010-4226 Gnu Cpio: link following (a symlink lets an attacker reach other files)
Questions about CVE-2005-1111
Is CVE-2005-1111 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnu Cpio are affected by CVE-2005-1111?
cpio through 2.6, debian linux 3.0, debian linux 3.1, ubuntu linux 4.10 and ubuntu linux 5.04, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-1111?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2005-1111?
Medium (4.7, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2005-1111?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.