CVE catalog

CVE-2006-6169

gnupg2: CVE-2006-6169

[CVE catalog]

Severity
High
Published
Source
[NVD] · [CVE record]
EPSS
3.26% · Oct 25, 2026

Heap-based buffer overflow in the ask_outfile_name function in openfile.c for GnuPG (gpg) 1.4 and 2.0, when running interactively, might allow attackers to execute arbitrary code via messages with "C-escape" expansions, which cause the make_printable_string function to return a longer string than expected while constructing a prompt.

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+deb13u1fixed
Debiangnupg2bookworm2.2.40-1.1+deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangnupg2sourcesid2.0.0-5.1mediumNot reported[400777]
Debiangnupg2sourceforky2.0.0-5.1mediumNot reported[400777]
Debiangnupg2sourcetrixie2.0.0-5.1mediumNot reported[400777]
Debiangnupg2sourcebookworm2.0.0-5.1mediumNot reported[400777]

[Debian bug #400777]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [dirmngr]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gnupg]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gnupg-l10n]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpg]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpg-agent]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpgconf]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpgsm]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpgv]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpgv2]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [gpgv-win32]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · all · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

  • [scdaemon]Fixed

    Source package: [gnupg2]

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

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

    • 2.2.40-1.1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · bookworm; dsa · gnupg2 · debian · 12

[Debian 13 (Trixie)]

  • [dirmngr]Fixed

    Source package: [gnupg2]

    Details (2)
    • 2.4.7-21+deb13u1+b4 · amd64 · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

    • 2.4.7-21+deb13u1+b4 · arm64 · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

  • [gnupg]Fixed

    Source package: [gnupg2]

    Details (2)
    • 2.4.7-21+deb13u1 · all · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

    • 2.4.7-21+deb13u1 · all · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

  • [gnupg2]Fixed
    Details (2)
    • 2.4.7-21+deb13u1 · all · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

    • 2.4.7-21+deb13u1 · all · trixie

      Fixed · Fixed: 2.0.0-5.1

      dsa · gnupg2 · debian · 13

Next results

Observed:

References