Live threats

All CVEs / Gnu

CVE-2007-4131Gnu Tar

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Aug 25, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnutar1.13
gnutar1.13.5
gnutar1.13.11
gnutar1.13.14
gnutar1.13.16
gnutar1.13.17
gnutar1.13.18
gnutar1.13.19
gnutar1.13.25
gnutar1.14
gnutar1.14.90
gnutar1.15
gnutar1.15.1
gnutar1.15.90
gnutar1.15.91
gnutar1.16

Official sources

References

Links published by the sources. Open them with care.