Skip to content
OpenAdvisories
Low · 3.6 CVE-2026-105712 EUVD-2026-92634GHSA-9w76-549g-prc8

gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --director…

Published Oct 5, 2026 · Updated Oct 5, 2026 · Assigned by mitre

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

VendorProductAffectedFixed
GnuPG GnuPG < 2.5.19 2.5.19

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gnupg2 2.4.9-8 —
Debian 13 gnupg2 No fix yet —
Debian 12 gnupg2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gnupg2 No fix yet —
Ubuntu 26.04 LTS gnupg2 No fix yet —
Ubuntu 24.04 LTS gnupg2 No fix yet —
Ubuntu 22.04 LTS gnupg2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS gnupg2 No fix yet —
Ubuntu Pro 18.04 LTS gnupg2 No fix yet —
Ubuntu Pro 16.04 LTS gnupg2 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 gnupg2 +10 2.4.9-18.1.hum1 RHSA-2026:77484

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gnupg2 No fix yet —

Advisories 2

References