Skip to content
3.6 Low

CVE-2026-105712 gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive

Description

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.

Affected products and versions

Product Affected versions Fixed in
GnuPG 2.5 earliest → < 2.5.19 2.5.19

References

Timeline

  1. Published
  2. Last modified
The 9 CVEs of GnuPG →
Track this CVE