Vulnerabilities

Vulnerability · 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 permission

Published May 2, 2005 · catalog updated Oct 22, 2026 · Race condition in cpio

Open the advisory

Exploitation likelihood is not on this record for CVE-2005-1111. A missing EPSS score is not a low risk. Compare Race condition in cpio with the linked advisory before you change production.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Race condition in cpio).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
Medium4.7
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Advisory link
Affected products
Debian:12 cpio · Debian:13 cpio · Debian:14 cpio

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Debian:12 cpio0 → 2.6-6
  • Debian:13 cpio0 → 2.6-6
  • Debian:14 cpio0 → 2.6-6

How to fix CVE-2005-1111

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for CVE-2005-1111. A missing EPSS score is not a low risk. Compare Race condition in cpio with the linked advisory before you change production.

Which versions are affected?

Compare what you have installed with 0 → 2.6-6. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. May 2, 2005 · Trivy Vulnerability DB

    Detected

    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.

  2. Oct 22, 2026 · Trivy Vulnerability DB

    Fix available

    cpio fixed in 2.6-6; cpio fixed in 2.6-6; cpio fixed in 2.6-6

  3. Oct 22, 2026 · Trivy Vulnerability DB

    Fix available

    cpio fixed in 2.6-6

  4. Oct 22, 2026 · Trivy Vulnerability DB

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2005-1111

    Official CVE identifier

    cve.org
  • Trivy Vulnerability DBPackage advisoryDEBIAN-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.

    osv.dev

References

Freshness

Last verified in this catalog Oct 22, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.