Skip to content
Fencer Vulns
medium 6.8

CVE-2006-6169 json

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 al…

published 2006-11-29 19 y ago modified 2026-06-16 4 mo ago also EUVD-2006-6152

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.5%
EPSS 3.5% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • gnupg2 Debian 14, Debian 13, Debian 12 2.0.0-5.1

debian advisories DEBIAN-CVE-2006-6169

  • gnupg RHEL 2.1 1.0.7-20
  • gnupg RHEL 3 1.2.1-19
  • gnupg RHEL 4 1.2.6-8

red hat advisories RHSA-2006:0754

  • gpg2 openSUSE Tumbleweed 2.2.27-2.4

opensuse advisories openSUSE-SU-2024:10815-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2006-6169 updated

: gnupg2 < 2.0.1 buffer overflow

  • Red Hat Desktop version 3 gnupg 1.2.1-19 Red Hat Enterprise Linux AS (Advanced Server) version 2.1 gnupg 1.0.7-20 Red Hat Enterprise Linux AS version 3 gnupg 1.2.1-19 Red Hat Enterprise Linux AS version 4 gnupg 1.2.6-8 Red Hat Enterprise Linux Desktop version 4 gnupg 1.2.6-8 Red Hat Enterprise Linux ES version 2.1 gnupg 1.0.7-20
    +6 more products
    Red Hat Enterprise Linux ES version 3 gnupg 1.2.1-19 Red Hat Enterprise Linux ES version 4 gnupg 1.2.6-8 Red Hat Enterprise Linux WS version 2.1 gnupg 1.0.7-20 Red Hat Enterprise Linux WS version 3 gnupg 1.2.1-19 Red Hat Enterprise Linux WS version 4 gnupg 1.2.6-8 Red Hat Linux Advanced Workstation 2.1 gnupg 1.0.7-20
    fixed: vendor fix RHSA-2006:0754

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.46% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.