CVE-2006-6169
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…
Check your servers for CVE-2006-6169
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-6169 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 3.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.8% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-6169 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-6169RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-6169Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-6169
trivy image --scanners vuln IMAGE | grep CVE-2006-6169
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
33 of 34 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 23110 secunia.com · third party advisory
- 23269 secunia.com · third party advisory
- 23303 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-826 issues.rpath.com
- 23513 secunia.com · third party advisory
- 23284 secunia.com · third party advisory
- 23146 secunia.com · third party advisory
- 23171 secunia.com · third party advisory
- USN-393-2 ubuntu.com · vendor advisory
- RHSA-2006:0754 redhat.com · vendor advisory
- 2006-0068 trustix.org · vendor advisory
- 1927 securityreason.com · third party advisory
12 more
- DSA-1231 debian.org · vendor advisory
- 23299 secunia.com · third party advisory
- USN-389-1 ubuntu.com · vendor advisory
- GLSA-200612-03 security.gentoo.org · vendor advisory
- 23094 secunia.com · third party advisory
- SUSE-SA:2006:075 lists.suse.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2007-047.htm support.avaya.com
- 23250 secunia.com · third party advisory
- 23161 secunia.com · third party advisory
- MDKSA-2006:221 mandriva.com · vendor advisory
- OpenPKG-SA-2006.037 openpkg.com · vendor advisory
- 24047 secunia.com · third party advisory
Other references
- 20061127 GnuPG 1.4 and 2.0 buffer overflow securityfocus.com · mailing list
- gnupg-openfile-bo(30550) exchange.xforce.ibmcloud.com · vdb entry
- https://bugs.g10code.com/gnupg/issue728 bugs.g10code.com
- 1017291 securitytracker.com · vdb entry
- [gnupg-announce] 20061127 GnuPG 1.4 and 2.0 buffer overflow lists.gnupg.org · mailing list
- 20061201 rPSA-2006-0224-1 gnupg securityfocus.com · mailing list
- 21306 securityfocus.com · vdb entry
- ADV-2006-4736 vupen.com · vdb entry
- oval:org.mitre.oval:def:11228 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2006-6169 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse