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

- Severity: Low 3.6 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-05T18:53:09.873Z
- Modified: 2026-10-06T16:00:36.547Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- GnuPG GnuPG: before 2.5.19

## References

- <https://static.dev.gnupg.org/T8159.html>
- <https://github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88>
- <https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000504.html>

## Sources

- CVE List: [CVE-2026-105712](https://www.cve.org/CVERecord?id=CVE-2026-105712), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-105712](https://nvd.nist.gov/vuln/detail/CVE-2026-105712), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-105712 · Whole record: https://cve.day/CVE-2026-105712.json · Rebuilt by cve.day 2026-11-25T22:59:42.150Z
