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…
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.31% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: cpio (Debian:12) 2.6-6; cpio (Debian:3.0) 2.4.2-39woody2; cpio (Debian:3.1) 2.5-1.3.
Low priority for now. Upgrade to cpio (Debian:12) 2.6-6; cpio (Debian:3.0) 2.4.2-39woody2; cpio (Debian:3.1) 2.5-1.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 2, 2005
- Updated
- Jun 16, 2026
- EPSS
- 0.3% · 24th percentile
- CWE
- CWE-59
Report tools
Action score
18
Low priority for now.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | cpio | cpe:2.3:a:gnu:cpio |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux4.10
- canonical ubuntu linux5.04
- debian debian linux3.0
- debian debian linux3.1
- gnu cpioup to 2.6 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | cpio | before 2.6-6 | 2.6-6 |
| Debian:3.0 | cpio | before 2.4.2-39woody2 | 2.4.2-39woody2 |
| Debian:3.1 | cpio | before 2.5-1.3 | 2.5-1.3 |
| Red Hat:enterprise_linux:3::as | cpio | before 0:2.5-4.RHEL3 | 0:2.5-4.RHEL3 |
| Red Hat:enterprise_linux:3::as | cpio-debuginfo | before 0:2.5-4.RHEL3 | 0:2.5-4.RHEL3 |
| Red Hat:enterprise_linux:4::as | cpio | before 0:2.5-8.RHEL4 | 0:2.5-8.RHEL4 |
| Red Hat:enterprise_linux:4::as | cpio-debuginfo | before 0:2.5-8.RHEL4 | 0:2.5-8.RHEL4 |
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-38185GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer…32Monitor
- CVE-2019-14866In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives.29Monitor
- CVE-2010-4226cpio, as used in build 2007.05.10, 2010.07.28, and possibly other versions, allows remote attackers to overwrite arbitrary files via a…29Monitor
Published before and after this one in the same product
- Later →CVE-2005-1229May 2, 2005 · Directory traversal vulnerability in cpio 2.6 and earlier allows remote attackers to write to arbitrary directories via a ..19Monitor
- Later →CVE-2005-4268Dec 15, 2005 · Buffer overflow in cpio 2.6-8.FC4 on 64-bit platforms, when creating a cpio archive, allows local users to cause a denial of service…14Monitor
- Later →CVE-2010-0624Mar 15, 2010 · Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client functionality in GNU tar before 1.23 and GNU cpio…28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:cpio | 2.6-6 · Debian:12 | Package registry (OSV) |
| red hat:cpio | 0:2.5-4.RHEL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:cpio-debuginfo | 0:2.5-4.RHEL3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (18 more)Show less
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.2/SCOSA-2006.2.txt
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.32/SCOSA-2005.32.txt
- lists.suse.com/archive/suse-security-announce/2006-May/0004.html
- marc.info/?l=bugtraq&m=111342664116120&w=2
- secunia.com/advisories/16998
- secunia.com/advisories/17123
- secunia.com/advisories/17532
- secunia.com/advisories/18290
- secunia.com/advisories/18395
- secunia.com/advisories/20117
- www.debian.org/security/2005/dsa-846
- www.osvdb.org/15725
- www.redhat.com/support/errata/RHSA-2005-378.html
- www.redhat.com/support/errata/RHSA-2005-806.html
- www.securityfocus.com/bid/13159
- www.ubuntu.com/usn/usn-189-1
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A358
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9783
Vendor advisories and official records. Exploit/PoC links are deliberately left out.