CVE-2007-4476: Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack vectors and impact, resulting in a "crashing stack."
Noroxi assessment
Priority: Monitor (action score 34/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 14.9% (FIRST EPSS); higher than 96.7% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: cpio (Debian:12) 2.9-5; tar (Debian:12) 1.18-1; tar (Debian:3.1) 1.14-2.4.
Low priority for now. Upgrade to cpio (Debian:12) 2.9-5; tar (Debian:12) 1.18-1; tar (Debian:3.1) 1.14-2.4 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
- Published
- Sep 4, 2007
- Updated
- Jun 16, 2026
- EPSS
- 14.9% · 96th percentile
- CWE
- CWE-119
Report tools
Action score
34
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 14.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- 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 | tar | cpe:2.3:a:gnu:tar |
| 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 linux6.06
- canonical ubuntu linux7.04
- canonical ubuntu linux7.10
- debian debian linux3.1
- debian debian linux4.0
- gnu tarbefore 1.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.9-5 | 2.9-5 |
| Debian:12 | tar | before 1.18-1 | 1.18-1 |
| Debian:3.1 | tar | before 1.14-2.4 | 1.14-2.4 |
| Debian:4.0 | cpio | before 2.6-18.1+etch1 | 2.6-18.1+etch1 |
| Debian:4.0 | tar | before 1.16-2etch1 | 1.16-2etch1 |
| 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-2005-2541Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which may allow local users or remote attackers to gain…41Plan
- CVE-2016-6321Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an…35Monitor
- CVE-2019-9923pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed…31Monitor
Published before and after this one in the same product
- ← EarlierCVE-2006-6097Nov 24, 2006 · GNU tar 1.16 and 1.15.1, and possibly other versions, allows user-assisted attackers to overwrite arbitrary files via a tar file that…20Monitor
- ← EarlierCVE-2007-4131Aug 24, 2007 · Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to…28Monitor
- Later →CVE-2018-20482Dec 26, 2018 · GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of…18Monitor
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.9-5 · Debian:12 | Package registry (OSV) |
| debian:tar | 1.18-1 · Debian:12 | Package registry (OSV) |
| red hat:cpio | 0:2.6-23.el5_4.1 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:cpio-debuginfo | 0:2.6-23.el5_4.1 · Red Hat:enterprise_linux:5::client | 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
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2007-11-14 |
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.
- Published
- First PoC+70 d
- TodayNov 16, 2026+7012 d
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
- No special conditions are required; it is repeatable.
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
- Low
- 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:L/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
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10691
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- secunia.com/advisories/26674
- secunia.com/advisories/26987
- secunia.com/advisories/27331
- secunia.com/advisories/27453
- secunia.com/advisories/27514
- secunia.com/advisories/27681
- secunia.com/advisories/27857
- secunia.com/advisories/28255
- secunia.com/advisories/29968
- secunia.com/advisories/32051
- secunia.com/advisories/33567
- secunia.com/advisories/39008
- security.gentoo.org/glsa/glsa-200711-18.xml
- sunsolve.sun.com/search/document.do?assetkey=1-77-1021680.1-1
- www.debian.org/security/2007/dsa-1438
- www.debian.org/security/2008/dsa-1566
- www.mandriva.com/security/advisories?name=MDKSA-2007:197
Vendor advisories and official records. Exploit/PoC links are deliberately left out.