Skip to content
OpenAdvisories
Unscored CVE-2006-6169 EUVD-2006-6152GHSA-5xr2-gxmf-xc8r

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 Nov 29, 2006 · Updated Aug 7, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gnupg2 2.0.0-5.1 —
Debian 13 gnupg2 2.0.0-5.1 —
Debian 12 gnupg2 2.0.0-5.1 —
Debian 3.1 gnupg 1.4.1-1.sarge6 DSA-1231-1
ReleasePackageFixed inAdvisory
RHEL 4 gnupg 1.2.6-8 RHSA-2006:0754
RHEL 3 gnupg 1.2.1-19 RHSA-2006:0754
RHEL 2 gnupg 1.0.7-20 RHSA-2006:0754
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gpg2 2.2.27-2.4 openSUSE-SU-2024:10815-1

Advisories 3

References