CVE-2026-105712
gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.6
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.
- Record
CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-61
- Updated
- 2026-11-02
EUVDEUVD-2026-92634
3.6
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.
- Record
EUVD-2026-92634- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9w76-549g-prc8
3.6
gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When...
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.
- Record
GHSA-9w76-549g-prc8- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-61
- Updated
- 2026-11-02
NVD
3.6
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.
- Record
CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-61
- Updated
- 2026-11-02
OSVBELL-CVE-2026-105712
3.6
- Record
BELL-CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-07
OSV
3.6
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.
- Record
CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-61
- Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2026-105712
3.6
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.
- Record
DEBIAN-CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2026-4360
3.6
gnupg2 security update
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG enables encryption and signing of data and communication, and features a versatile key management system as well as access modules for public key directories.
Security Fix(es):
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.(CVE-2026-105712)
- Record
OESA-2026-4360- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2026-4361
3.6
gnupg2 security update
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG enables encryption and signing of data and communication, and features a versatile key management system as well as access modules for public key directories.
Security Fix(es):
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.(CVE-2026-105712)
- Record
OESA-2026-4361- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2026-4362
3.6
gnupg2 security update
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG enables encryption and signing of data and communication, and features a versatile key management system as well as access modules for public key directories.
Security Fix(es):
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.(CVE-2026-105712)
- Record
OESA-2026-4362- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2026-4363
3.6
gnupg2 security update
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG enables encryption and signing of data and communication, and features a versatile key management system as well as access modules for public key directories.
Security Fix(es):
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.(CVE-2026-105712)
- Record
OESA-2026-4363- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2026:77484
3.6
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- Record
RHSA-2026:77484- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-105712
3.6
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.
- Record
UBUNTU-CVE-2026-105712- CVSS 3.1
- 3.6 Low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-02
OSVAZL-105962 No score
CVE-2026-105712 affecting package gnupg2 2.4.9-3
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.
- Record
AZL-105962- Updated
- 2026-11-05
OSVCLSA-2026-1791488683 No score
Fix CVE(s): CVE-2026-105712
- SECURITY UPDATE: file overwrite via symlink in gpgtar extraction
- debian/patches/CVE-2026-105712.patch: refuse to extract with --directory into a non-empty directory or a symlink.
- CVE-2026-105712
- Record
CLSA-2026-1791488683- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gnupg2Azure Linux:3 |
through 2.4.9-3 | None known |
gnupgAlpaquita:23 |
2.2.40-r0 up to 2.2.40-r3 | 2.2.40-r3 |
gnupgAlpaquita:25 |
2.4.7-r0 up to 2.4.9-r2 | 2.4.9-r2 |
gnupgAlpaquita:stream |
2.4.0-r1 up to 2.5.22-r0 | 2.5.22-r0 |
dirmngrTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupgTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupg-agentTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupg-l10nTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupg-utilsTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupg2TuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gpgTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpg-agentTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpg-wks-clientTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpg-wks-serverTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgconfTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgsmTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgvTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgv-staticTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgv-win32TuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gpgv2TuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
scdaemonTuxCare:Debian:10 |
before 2.2.12-1+deb10u2+tuxcare.els3 | 2.2.12-1+deb10u2+tuxcare.els3 |
gnupg2Debian:12 |
All versions, plus listed versions 2.2.40-1.12.2.40-1.1+deb12u12.2.40-1.1+deb12u22.2.40-1.1+hurd.12.2.40-1.1+loong64 Show 45 moreShow less2.2.40-22.2.40-32.2.43-12.2.43-22.2.43-32.2.43-42.2.43-52.2.43-62.2.43-72.2.43-82.2.44-12.2.45-12.2.45-22.2.45-32.2.46-12.2.46-22.2.46-32.2.46-42.2.46-52.2.46-62.2.46~pre1-12.3.1-12.4.3-22.4.4-12.4.4-22.4.4-32.4.4-42.4.5-12.4.5-22.4.5-32.4.6-12.4.7-12.4.7-102.4.7-112.4.7-122.4.7-132.4.7-142.4.7-152.4.7-162.4.7-172.4.7-182.4.7-192.4.7-22.4.7-202.4.7-21 |
None known |
gnupg2Debian:13 |
All versions, plus listed versions 2.4.7-212.4.7-21+deb13u12.4.8-12.4.8-22.4.8-3 Show 11 moreShow less2.4.8-42.4.8-52.4.8-62.4.9-12.4.9-22.4.9-32.4.9-42.4.9-52.4.9-62.4.9-72.4.9-8 |
None known |
gnupg2Debian:14 |
before 2.4.9-8, plus listed versions 2.4.7-212.4.8-12.4.8-22.4.8-32.4.8-4 Show 9 moreShow less2.4.8-52.4.8-62.4.9-12.4.9-22.4.9-32.4.9-42.4.9-52.4.9-62.4.9-7 |
2.4.9-8 |
gnupg2openEuler:22.03-LTS-SP4 |
before 2.2.32-11.oe2203sp4 | 2.2.32-11.oe2203sp4 |
gnupg2openEuler:24.03-LTS-SP1 |
before 2.4.3-17.oe2403sp1 | 2.4.3-17.oe2403sp1 |
gnupg2openEuler:24.03-LTS-SP3 |
before 2.4.3-17.oe2403sp3 | 2.4.3-17.oe2403sp3 |
gnupg2openEuler:24.03-LTS-SP4 |
before 2.4.3-17.oe2403sp4 | 2.4.3-17.oe2403sp4 |
gnupg2Red Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-dirmngrRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-g13Red Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-gpg-agentRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-gpgconfRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-keyboxdRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-scdaemonRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-smimeRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-utilsRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-verifyRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2-wksRed Hat:hummingbird:1 |
before 0:2.4.9-18.1.hum1 | 0:2.4.9-18.1.hum1 |
gnupg2Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.0.28-3ubuntu12.0.28-3ubuntu22.1.11-6ubuntu12.1.11-6ubuntu22.1.11-6ubuntu2.12.1.11-6ubuntu2.1+esm12.1.11-6ubuntu2.1+esm22.1.11-6ubuntu2.1+esm3 |
None known |
gnupg2Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.1.15-1ubuntu82.2.4-1ubuntu12.2.4-1ubuntu1.12.2.4-1ubuntu1.22.2.4-1ubuntu1.3 Show 5 moreShow less2.2.4-1ubuntu1.42.2.4-1ubuntu1.52.2.4-1ubuntu1.62.2.4-1ubuntu1.6+esm12.2.4-1ubuntu1.6+esm2 |
None known |
gnupg2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.2.12-1ubuntu32.2.17-3ubuntu12.2.19-3ubuntu22.2.19-3ubuntu2.12.2.19-3ubuntu2.22.2.19-3ubuntu2.42.2.19-3ubuntu2.52.2.19-3ubuntu2.5+esm1 |
None known |
gnupg2Ubuntu:22.04:LTS |
All versions, plus listed versions 2.2.20-1ubuntu42.2.27-2ubuntu12.2.27-3ubuntu12.2.27-3ubuntu22.2.27-3ubuntu2.12.2.27-3ubuntu2.32.2.27-3ubuntu2.42.2.27-3ubuntu2.5 |
None known |
gnupg2Ubuntu:24.04:LTS |
All versions, plus listed versions 2.2.40-1.1ubuntu12.4.4-2ubuntu72.4.4-2ubuntu152.4.4-2ubuntu162.4.4-2ubuntu17 Show 4 moreShow less2.4.4-2ubuntu17.22.4.4-2ubuntu17.32.4.4-2ubuntu17.42.4.4-2ubuntu17.6 |
None known |
gnupg2Ubuntu:26.10 |
All versions, plus listed versions 2.4.8-4ubuntu32.4.9-4ubuntu12.4.9-4ubuntu22.4.9-4ubuntu3 |
None known |
gnupg2Ubuntu:26.04:LTS |
All versions, plus listed versions 2.4.8-2ubuntu22.4.8-4ubuntu12.4.8-4ubuntu22.4.8-4ubuntu32.4.8-4ubuntu3.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-105712 is a low vulnerability (CVSS 3.6) in Gnupg, published October 5, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.13%, the 2nd percentile. Fixed in gnupg 2.2.40-r3.
References
static.dev.gnupg.org/T8159.html
github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88
lists.gnupg.org/pipermail/gnupg-announce/2026q2/000504.html
nvd.nist.gov/vuln/detail/CVE-2026-105712
github.com/advisories/GHSA-9w76-549g-prc8
docs.bell-sw.com/security/cves/CVE-2026-105712
Show 15 moreShow less
errata.tuxcare.com/els_os/debian10els/CLSA-2026-1791488683.html
github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105712.json
security-tracker.debian.org/tracker/CVE-2026-105712
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4360
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4361
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4362
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-4363
access.redhat.com/errata/RHSA-2026:77484
access.redhat.com/security/cve/CVE-2026-105712
access.redhat.com/security/updates/classification
images.redhat.com
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_77484.json
bugzilla.redhat.com/show_bug.cgi?id=2546069
cve.org/CVERecord?id=CVE-2026-105712
ubuntu.com/security/CVE-2026-105712
Left out here: 21 versions. The JSON record has them.