CVE Catalog

CVE-2026-105712

LowCVSS 3.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (-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.

Risk Assessment

An attacker could trick a user into extracting a malicious archive, potentially overwriting files outside the target directory and damaging data or modifying configuration files. The risk does not apply when extracting into a fresh empty directory.

Recommendation

Update GnuPG to version 2.5.19 or later. Extract untrusted archives only into newly created, empty directories.

Other vulnerabilities in GnuPG

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS