gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (aka -C) into an existing directory containing a pre-existing symlink, gpgtar can follow that symlink and create or overwrite a file outside the selected extraction directory. The write is limited by the extraction user's filesystem permissions. An archive extracted into a fresh empty directory does not have this risk.
References
Configurations
No configuration.
History
05 Oct 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-05 19:17
Updated : 2026-10-06 16:00
NVD link : CVE-2026-105712
Mitre link : CVE-2026-105712
CVE.ORG link : CVE-2026-105712
JSON object : View
Products Affected
No product.
CWE
CWE-61
UNIX Symbolic Link (Symlink) Following
