
CVE catalog
CVE-2007-4131
tar: CVE-2007-4131
- Severity
- High
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tar | sid | 1.35+dfsg-7 | fixed |
| Debian | tar | forky | 1.35+dfsg-6 | fixed |
| Debian | tar | trixie | 1.35+dfsg-3.1 | fixed |
| Debian | tar | bookworm | 1.34+dfsg-1.2+deb12u1 | fixed |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [tar]Fixed
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormFixed · Fixed:
1.18-2dsa · tar · debian · bookworm; dsa · tar · debian · 12
1.34+dfsg-1.2+deb12u1· arm64 · bookwormFixed · Fixed:
1.18-2dsa · tar · debian · bookworm; dsa · tar · debian · 12
- [tar-scripts]Fixed
Source package: [tar]
Details (2)
1.34+dfsg-1.2+deb12u1· amd64 · bookwormFixed · Fixed:
1.18-2dsa · tar · debian · bookworm; dsa · tar · debian · 12
1.34+dfsg-1.2+deb12u1· arm64 · bookwormFixed · Fixed:
1.18-2dsa · tar · debian · bookworm; dsa · tar · debian · 12
[Debian 13 (Trixie)]
- [tar]Fixed
Details (2)
1.35+dfsg-3.1· amd64 · trixieFixed · Fixed:
1.18-2dsa · tar · debian · 13
1.35+dfsg-3.1· arm64 · trixieFixed · Fixed:
1.18-2dsa · tar · debian · 13
- [tar-scripts]Fixed
Source package: [tar]
Details (2)
1.35+dfsg-3.1· all · trixieFixed · Fixed:
1.18-2dsa · tar · debian · 13
1.35+dfsg-3.1· all · trixieFixed · Fixed:
1.18-2dsa · tar · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2007:0860]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2007-4131]
- [https://osv.dev/vulnerability/DSA-1438-1]
- [https://security-tracker.debian.org/tracker/CVE-2007-4131]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]