Skip to content
Fencer Vulns
medium 4.7

CVE-2005-1111 json

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 i…

published 2005-04-16 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-1114

cvss
4.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

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.

Patch / fix

  • cpio Debian 14, Debian 13, Debian 12 2.6-6

debian advisories DEBIAN-CVE-2005-1111

  • cpio RHEL 3 2.5-4.RHEL3
  • cpio RHEL 4 2.5-8.RHEL4

red hat advisories RHSA-2005:378

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2005-1111 updated

security flaw

  • Red Hat Desktop version 3 cpio 2.5-4.RHEL3 Red Hat Enterprise Linux AS version 3 cpio 2.5-4.RHEL3 Red Hat Enterprise Linux AS version 4 cpio 2.5-8.RHEL4 Red Hat Enterprise Linux Desktop version 4 cpio 2.5-8.RHEL4
    fixed: vendor fix RHSA-2005:378
  • Red Hat Enterprise Linux ES version 2.1
    fixed: vendor fix RHSA-2005:806
  • Red Hat Enterprise Linux ES version 3 cpio 2.5-4.RHEL3 Red Hat Enterprise Linux ES version 4 cpio 2.5-8.RHEL4
    fixed: vendor fix RHSA-2005:378
  • Red Hat Enterprise Linux WS version 2.1
    fixed: vendor fix RHSA-2005:806
  • Red Hat Enterprise Linux WS version 3 cpio 2.5-4.RHEL3 Red Hat Enterprise Linux WS version 4 cpio 2.5-8.RHEL4
    fixed: vendor fix RHSA-2005:378
  • Red Hat Linux Advanced Workstation 2.1
    fixed: vendor fix RHSA-2005:806

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.7 AV:L/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.