Skip to main content
VulnerabilityPublished Updated

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

Affects gnupg2Source GCVE Database

0
Compare

Not known to be exploited · CVSS 3.6 Low.

Data as of 30 Nov 2026, 18:36 UTC

CVSS 3.1 base score
3.6Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10gnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=stonkingOther threatsAffected
  • 2.4.8-4ubuntu3 – 2.4.9-4ubuntu3
4 affected builds
Fixed in–
Ubuntu 26.04 LTSgnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=resoluteOther threatsAffected
  • 2.4.8-2ubuntu2 – 2.4.8-4ubuntu3.1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSgnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=nobleOther threatsAffected
  • 2.2.40-1.1ubuntu1 – 2.4.4-2ubuntu17.6
9 affected builds
Fixed in–
Ubuntu 22.04 LTSgnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=jammyOther threatsAffected
  • 2.2.20-1ubuntu4 – 2.2.27-3ubuntu2.5
8 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSgnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2.2.12-1ubuntu3 – 2.2.19-3ubuntu2.5+esm1
8 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSgnupg2pkg:deb/ubuntu/gnupg2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2.1.15-1ubuntu8 – 2.2.4-1ubuntu1.6+esm2
10 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade GnuPG to version 2.5.19 or later where this vulnerability is fixed. Until then, avoid extracting untrusted archives with gpgtar using the --directory (-C) option into directories containing pre-existing symbolic links. Extract archives into fresh empty directories to prevent symlink traversal and file overwrite risks.

Description

A vulnerability in gpgtar component of GnuPG before version 2.5.19 allows file overwrite via crafted archive data. When extracting an untrusted archive with the --directory (-C) option into an existing directory containing a symlink, gpgtar may follow the symlink and overwrite files outside the intended extraction directory. This behavior is limited by the filesystem permissions of the user performing extraction. Extracting into a fresh empty directory does not pose this risk. The issue has a low severity score and no known exploits in the wild.

References

Community reviews

Loading reviews…