Home / Gnupg / Gnupg / CVE-2012-6085
CVE-2012-6085: is it exploited, and which versions of Gnupg are affected and fixed?
CVE-2012-6085 is an improper input validation vulnerability in Gnupg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: gnupg 1.4.0, gnupg 1.4.2, gnupg 1.4.3 and 24 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-6085?
The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers to corrupt the public keyring database or cause a denial of service (application crash) via a crafted length field of an OpenPGP packet.
From the CVE record by redhat, last updated August 6, 2024, 21:21 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnupg | gnupg | 1.4.0 | application |
| gnupg | gnupg | 1.4.2 | application |
| gnupg | gnupg | 1.4.3 | application |
| gnupg | gnupg | 1.4.4 | application |
| gnupg | gnupg | 1.4.5 | application |
| gnupg | gnupg | 1.4.8 | application |
| gnupg | gnupg | 1.4.10 | application |
| gnupg | gnupg | 1.4.11 | application |
| gnupg | gnupg | 1.4.12 | application |
| gnupg | gnupg | 2.0 | application |
| gnupg | gnupg | 2.0.1 | application |
| gnupg | gnupg | 2.0.3 | application |
| gnupg | gnupg | 2.0.4 | application |
| gnupg | gnupg | 2.0.5 | application |
| gnupg | gnupg | 2.0.6 | application |
| gnupg | gnupg | 2.0.7 | application |
| gnupg | gnupg | 2.0.8 | application |
| gnupg | gnupg | 2.0.10 | application |
| gnupg | gnupg | 2.0.11 | application |
| gnupg | gnupg | 2.0.12 | application |
| gnupg | gnupg | 2.0.13 | application |
| gnupg | gnupg | 2.0.14 | application |
| gnupg | gnupg | 2.0.15 | application |
| gnupg | gnupg | 2.0.16 | application |
| gnupg | gnupg | 2.0.17 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:47 UTC.
How severe is CVE-2012-6085?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-6085 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.91% probability of exploitation activity in the next 30 days, percentile 87.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=891142 x_refsource_MISC
- https://bugs.g10code.com/gnupg/issue1455 x_refsource_CONFIRM
- 57102 vdb-entry, x_refsource_BID
- FEDORA-2013-0377 vendor-advisory, x_refsource_FEDORA
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commitdiff%3Bh=f0b33b6fb8e0586e9584a7a409dcc31263776a67 x_refsource_CONFIRM
- [oss-security] 20130101 Re: GnuPG 1.4.12 and lower - memory access errors and keyring database corruption mailing-list, x_refsource_MLIST
- FEDORA-2013-0148 vendor-advisory, x_refsource_FEDORA
- RHSA-2013:1459 vendor-advisory, x_refsource_REDHAT
- USN-1682-1 vendor-advisory, x_refsource_UBUNTU
- MDVSA-2013:001 vendor-advisory, x_refsource_MANDRIVA
- gnupg-public-keys-code-exec(80990) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- December 6, 2012
- Published
- January 24, 2013, 01:00 UTC
- CVE record updated
- August 6, 2024, 21:21 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:47 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gnupg?
- Oct 27, 2026CVE-2026-118131 GnuPG: incorrect permissions on a critical resource
- Oct 5, 2026CVE-2026-105712 GnuPG: UNIX Symbolic Link (Symlink) Following
- Jun 23, 2026CVE-2026-57062 GnuPG: quantity not validated
- Jan 27, 2026CVE-2026-24883 GnuPG: NULL pointer dereference (crash)
- Jan 27, 2026CVE-2026-24882 GnuPG: stack buffer overflow
- Jan 27, 2026CVE-2026-24881 GnuPG: stack buffer overflow
- Dec 28, 2025CVE-2025-68973 GnuPG: multiple Operations on Resource in Single-Operation Context
- Dec 27, 2025CVE-2025-68972 GnuPG: cryptographic signature not verified
Questions about CVE-2012-6085
Is CVE-2012-6085 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 2.91% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gnupg are affected by CVE-2012-6085?
gnupg 1.4.0, gnupg 1.4.2, gnupg 1.4.3, gnupg 1.4.4, gnupg 1.4.5, gnupg 1.4.8 and 21 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-6085?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-6085?
Medium (5.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-6085?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.