Skip to content

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 allow attackers to execute arbitrary code via messages with "C-...

MediumCVSS 6.8 EPSS 3.5%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
debian/gnupg2(Debian 12) < 2.0.0-5.1 2.0.0-5.1 Fixed
debian/gnupg2(Debian 13) < 2.0.0-5.1 2.0.0-5.1 Fixed
debian/gnupg2(Debian 14) < 2.0.0-5.1 2.0.0-5.1 Fixed
GnuPG = 1.4; = 2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
GnuPG = 1.4 No fix listed
GnuPG = 2.0 No fix listed
debian/gnupg2(Debian:12) < 2.0.0-5.1 2.0.0-5.1
debian/gnupg2(Debian:13) < 2.0.0-5.1 2.0.0-5.1
debian/gnupg2(Debian:14) < 2.0.0-5.1 2.0.0-5.1

References