Heap-based buffer overflow in the ask_outfile_name function in openfile.c for GnuPG (gpg)…
Priority LOW 36Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.03464 89th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2006:0754 Released 2006-12-06 · Red Hat rating Importantgnupg security update
- Red Hat Desktop version 3 gnupg-1.2.1-19, gnupg-1.2.1-19.i386
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 gnupg-1.0.7-20, gnupg-1.0.7-20.i386, gnupg-1.0.7-20.ia64
- Red Hat Enterprise Linux AS version 3 gnupg-1.2.1-19, gnupg-1.2.1-19.i386, gnupg-1.2.1-19.ia64 +1
- Red Hat Enterprise Linux AS version 4 gnupg-1.2.6-8, gnupg-1.2.6-8.i386, gnupg-1.2.6-8.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 gnupg-1.2.6-8, gnupg-1.2.6-8.i386
- Red Hat Enterprise Linux ES version 2.1 gnupg-1.0.7-20, gnupg-1.0.7-20.i386
- Red Hat Enterprise Linux ES version 3 gnupg-1.2.1-19, gnupg-1.2.1-19.i386, gnupg-1.2.1-19.ia64
- Red Hat Enterprise Linux ES version 4 gnupg-1.2.6-8, gnupg-1.2.6-8.i386, gnupg-1.2.6-8.ia64
- Red Hat Enterprise Linux WS version 2.1 gnupg-1.0.7-20, gnupg-1.0.7-20.i386
- Red Hat Enterprise Linux WS version 3 gnupg-1.2.1-19, gnupg-1.2.1-19.i386, gnupg-1.2.1-19.ia64
- Red Hat Enterprise Linux WS version 4 gnupg-1.2.6-8, gnupg-1.2.6-8.i386, gnupg-1.2.6-8.ia64
- Red Hat Linux Advanced Workstation 2.1 gnupg-1.0.7-20, gnupg-1.0.7-20.ia64
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2006:0754 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2006:0754 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2006:0754 |
Timeline
- 2026-10-02 Threatist record created from CVE-2006-6169
- 2026-10-03 Alias added: GHSA-5xr2-gxmf-xc8r
References
Advisory 10
More Gnupg vulnerabilities
- TI-2022-03243 Integer overflow in libksba CVSS 3.1CRITICAL 9.8
- TI-2025-42429 Out-of-bounds write in GnuPG CVSS 3.1HIGH 7.8
- TI-2025-42428 Improper signature verification in GnuPG CVSS 3.1MEDIUM 5.9
- TI-2008-01464 GnuPG (gpg) 1.4.8 and 2.0.8 allows remote attackers to cause a denial of service (crash)… CVSS 2.0HIGH 9.3
- TI-2026-20067 Stack-based buffer overflow in GnuPG CVSS 3.1CRITICAL 9.8
- TI-2018-08614 mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and… CVSS 3.1HIGH 7.5
Sources
- CVE-2006-6169 · CVE Program
- CVE-2006-6169 · NVD
- FIRST EPSS
- GHSA-5xr2-gxmf-xc8r · GitHub Advisory Database · CC BY 4.0
- CVE-2006-6169 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences