# CVE-2006-6169: Heap-based buffer overflow in the askoutfilename function in openfile.c for GnuPG (gpg) 1.4 and 2.0, when running interactively, might allo…

- Severity: Medium 6.8 (CVSS:2.0, scored by NVD) `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- 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): 3.46%, higher than 89% of CVEs (2026-12-01)
- Published: 2006-11-29T18:00:00.000Z
- Modified: 2026-06-16T22:32:36.313Z
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnupg gnupg: 1.4; 2.0

## References

- <http://secunia.com/advisories/23110> (third-party-advisory)
- <http://secunia.com/advisories/23269> (third-party-advisory)
- <http://secunia.com/advisories/23303> (third-party-advisory)
- <http://www.securityfocus.com/archive/1/452829/100/0/threaded> (mailing-list)
- <https://issues.rpath.com/browse/RPL-826>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/30550> (vdb-entry)
- <http://secunia.com/advisories/23513> (third-party-advisory)
- <http://secunia.com/advisories/23284> (third-party-advisory)
- <http://secunia.com/advisories/23146> (third-party-advisory)
- <http://secunia.com/advisories/23171> (third-party-advisory)
- <http://www.ubuntu.com/usn/usn-393-2> (vendor-advisory)
- <http://www.redhat.com/support/errata/RHSA-2006-0754.html> (vendor-advisory)
- <http://www.trustix.org/errata/2006/0068/> (vendor-advisory)
- <http://securityreason.com/securityalert/1927> (third-party-advisory)
- <http://www.debian.org/security/2006/dsa-1231> (vendor-advisory)
- <http://secunia.com/advisories/23299> (third-party-advisory)
- <http://www.ubuntu.com/usn/usn-389-1> (vendor-advisory)
- <https://bugs.g10code.com/gnupg/issue728>
- <http://securitytracker.com/id?1017291> (vdb-entry)
- <http://security.gentoo.org/glsa/glsa-200612-03.xml> (vendor-advisory)
- <http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html> (mailing-list)
- <http://secunia.com/advisories/23094> (patch, third-party-advisory, vendor-advisory)
- <http://lists.suse.com/archive/suse-security-announce/2006-Dec/0004.html> (vendor-advisory)
- <http://support.avaya.com/elmodocs2/security/ASA-2007-047.htm>
- <http://www.securityfocus.com/archive/1/453253/100/100/threaded> (mailing-list)
- <http://www.securityfocus.com/bid/21306> (vdb-entry)
- <http://www.vupen.com/english/advisories/2006/4736> (vdb-entry)
- <http://secunia.com/advisories/23250> (third-party-advisory)
- <ftp://patches.sgi.com/support/free/security/advisories/20061201-01-P.asc> (vendor-advisory)
- <http://secunia.com/advisories/23161> (third-party-advisory)
- <http://www.mandriva.com/security/advisories?name=MDKSA-2006:221> (vendor-advisory)
- <http://www.openpkg.com/security/advisories/OpenPKG-SA-2006.037.html> (vendor-advisory)
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11228> (signature, vdb-entry)
- <http://secunia.com/advisories/24047> (third-party-advisory)

## Sources

- CVE List: [CVE-2006-6169](https://www.cve.org/CVERecord?id=CVE-2006-6169), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2006-6169](https://nvd.nist.gov/vuln/detail/CVE-2006-6169), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2006-6169 · Whole record: https://cve.day/CVE-2006-6169.json · Rebuilt by cve.day 2026-11-25T22:56:58.723Z
