CVE catalog

CVE-2026-105712

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-existi

[CVE catalog]

Severity
Low · CVSS 3.6CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangnupg2sid2.4.9-8fixed
Debiangnupg2forky2.4.9-8fixed
Debiangnupg2trixie2.4.7-21+deb13u1vulnerable
Debiangnupg2bookworm2.2.40-1.1+deb12u2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangnupg2sourcesid2.4.9-8not yet assignedNot reported[1150168]
Debiangnupg2sourceforky2.4.9-8not yet assignedNot reported[1150168]
Debiangnupg2sourcetrixie(unfixed)not yet assignedNot reported[1150168]
Debiangnupg2sourcebookworm(unfixed)not yet assignedNot reported[1150168]

[Debian bug #1150168]

Notes

[trixie] gnupg2: Minor issue [bookworm] gnupg2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [dirmngr]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gnupg]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gnupg2]Affected
    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gnupg-agent]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gnupg-l10n]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gnupg-utils]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpg]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpg-agent]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgconf]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgsm]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgv]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgv2]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgv-static]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpgv-win32]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpg-wks-client]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [gpg-wks-server]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

  • [scdaemon]Affected

    Source package: [gnupg2]

    Details (2)
    • 2.2.40-1.1+deb12u2 · amd64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Affected

      nvd · gnupg2 · debian · bookworm

Observed:

References