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
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 before 2.11 allows remote rmt servers to cause a denial of service (memory corruption) or possibly execute arbitrary code by sending more data than was requested, related to archive filenames that contain a : (colon) character.
- Published
- Mar 15, 2010
- Updated
- Jun 16, 2026
- EPSS
- 4.7% · 92th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.7%
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu cpioup to 2.10 inclusive
- gnu cpio1.0
- gnu cpio1.1
- gnu cpio1.2
- gnu cpio1.3
- gnu cpio2.4-2
- gnu cpio2.5
- gnu cpio2.5.90
- gnu cpio2.6
- gnu cpio2.7
- gnu cpio2.8
- gnu cpio2.9
- gnu tarup to 1.22 inclusive
- gnu tar1.13
- gnu tar1.13.11
- gnu tar1.13.14
- gnu tar1.13.16
- gnu tar1.13.17
- gnu tar1.13.18
- gnu tar1.13.19
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.11-1 | 2.11-1 |
| Debian:12 | tar | before 1.23-1 | 1.23-1 |
| openSUSE:Tumbleweed | cpio | before 2.12-3.90 | 2.12-3.90 |
| openSUSE:Tumbleweed | tar | before 1.29-2.1 | 1.29-2.1 |
| Red Hat:enterprise_linux:3::as | cpio | before 0:2.5-6.RHEL3 | 0:2.5-6.RHEL3 |
| Red Hat:enterprise_linux:3::as | cpio-debuginfo | before 0:2.5-6.RHEL3 | 0:2.5-6.RHEL3 |
| Red Hat:enterprise_linux:3::as | tar | before 0:1.13.25-16.RHEL3 | 0:1.13.25-16.RHEL3 |
| Red Hat:enterprise_linux:3::as | tar-debuginfo | before 0:1.13.25-16.RHEL3 | 0:1.13.25-16.RHEL3 |
| Red Hat:enterprise_linux:4::as | cpio | before 0:2.5-16.el4_8.1 | 0:2.5-16.el4_8.1 |
| Red Hat:enterprise_linux:4::as | cpio-debuginfo | before 0:2.5-16.el4_8.1 | 0:2.5-16.el4_8.1 |
| Red Hat:enterprise_linux:4::as | tar | before 0:1.14-13.el4_8.1 | 0:1.14-13.el4_8.1 |
| Red Hat:enterprise_linux:4::as | tar-debuginfo | before 0:1.14-13.el4_8.1 | 0:1.14-13.el4_8.1 |
| Red Hat:enterprise_linux:5::client | cpio | before 0:2.6-23.el5_4.1 | 0:2.6-23.el5_4.1 |
| Red Hat:enterprise_linux:5::client | cpio-debuginfo | before 0:2.6-23.el5_4.1 | 0:2.6-23.el5_4.1 |
| Red Hat:enterprise_linux:5::client | tar | before 2:1.15.1-23.0.1.el5_4.2 | 2:1.15.1-23.0.1.el5_4.2 |
| Red Hat:enterprise_linux:5::client | tar-debuginfo | before 2:1.15.1-23.0.1.el5_4.2 | 2:1.15.1-23.0.1.el5_4.2 |
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 overf32Monitor
- 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 symli29Monitor
- CVE-2016-2037The 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 28Monitor
- CVE-2014-9112Heap-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 large22Monitor
- CVE-2023-7216Cpio: extraction allows symlinks which enables remote command execution21Monitor
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.11-1 · Debian:12 | Package registry (OSV) |
| debian:tar | 1.23-1 · Debian:12 | Package registry (OSV) |
| opensuse:cpio | 2.12-3.90 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:tar | 1.29-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:cpio | 0:2.5-16.el4_8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:cpio-debuginfo | 0:2.5-16.el4_8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:tar | 0:1.14-13.el4_8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:tar-debuginfo | 0:1.14-13.el4_8.1 · Red Hat:enterprise_linux:4::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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
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)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10691
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- lists.fedoraproject.org/pipermail/package-announce/2010-March/036668.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037395.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/037401.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/038134.html
- lists.fedoraproject.org/pipermail/package-announce/2010-March/038149.html
- lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- osvdb.org/62950
- secunia.com/advisories/38869
- secunia.com/advisories/38988
- secunia.com/advisories/39008
- security.gentoo.org/glsa/glsa-201111-11.xml
- www.mandriva.com/security/advisories?name=MDVSA-2010:065
- www.redhat.com/support/errata/RHSA-2010-0141.html
- www.redhat.com/support/errata/RHSA-2010-0142.html
- www.redhat.com/support/errata/RHSA-2010-0144.html
- www.redhat.com/support/errata/RHSA-2010-0145.html
- www.securityfocus.com/archive/1/514503/100/0/threaded
- www.ubuntu.com/usn/USN-2456-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.