Skip to content
Noroxi
CVE-2007-4476· NVD / CVE Program· CNA redhat

Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack vectors and impact, resulting in a "crashing stack."

HighCVSS 7.5 · v2.0—Proof of concept Fix available
Published
Sep 4, 2007
Updated
Jun 16, 2026
EPSS
14.9% · 97th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
4 / 30 · 14.9%

Affected systems

VendorProduct
gnutar
debiandebian linux
canonicalubuntu 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.

EcosystemPackageAffected rangeFix
Debian:12cpiobefore 2.9-52.9-5
Debian:12tarbefore 1.18-11.18-1
Debian:3.1tarbefore 1.14-2.41.14-2.4
Debian:4.0cpiobefore 2.6-18.1+etch12.6-18.1+etch1
Debian:4.0tarbefore 1.16-2etch11.16-2etch1
Red Hat:enterprise_linux:4::astarbefore 0:1.14-13.el4_8.10:1.14-13.el4_8.1
Red Hat:enterprise_linux:4::astar-debuginfobefore 0:1.14-13.el4_8.10:1.14-13.el4_8.1
Red Hat:enterprise_linux:5::clientcpiobefore 0:2.6-23.el5_4.10:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::clientcpio-debuginfobefore 0:2.6-23.el5_4.10:2.6-23.el5_4.1
Red Hat:enterprise_linux:5::clienttarbefore 2:1.15.1-23.0.1.el5_4.22:1.15.1-23.0.1.el5_4.2
Red Hat:enterprise_linux:5::clienttar-debuginfobefore 2:1.15.1-23.0.1.el5_4.22:1.15.1-23.0.1.el5_4.2

Same product

gnu: all records

Other 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 p
    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 i
    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 extend
    31Monitor
  • CVE-2007-4131Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwr
    28Monitor
  • CVE-2023-39804In GNU tar before 1.35, mishandled extension attributes in a PAX archive can lead to an application crash in xheader.c.
    24Monitor
  • CVE-2026-5704Tar: tar: hidden file injection via crafted archives
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:cpio2.9-5 · Debian:12Package registry (OSV)
debian:tar1.18-1 · Debian:12Package registry (OSV)
red hat:cpio0:2.6-23.el5_4.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:cpio-debuginfo0:2.6-23.el5_4.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:tar0:1.14-13.el4_8.1 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:tar-debuginfo0:1.14-13.el4_8.1 · Red Hat:enterprise_linux:4::asPackage 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.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2007-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.

  1. Published
  2. First PoC+70 d
  3. TodaySep 30, 2026+6966 d
EPSS, last 120 days

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.

Finders, 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

  • 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

CVSS vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

nvd-primary

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 help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records