CVE-2012-6085 json
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 attacker…
published 2013-01-24 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5956
- cvss
- 5.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnupg2 Debian 14, Debian 13, Debian 12 2.0.19-2
debian advisories DEBIAN-CVE-2012-6085
- gnupg2 RHEL 5 2.0.10-6.el5_10
- gnupg2 RHEL 6 2.0.14-6.el6_4
- gnupg2-smime RHEL 6 2.0.14-6.el6_4
- gnupg RHEL 5 1.4.5-18.el5_10
red hat advisories RHSA-2013:1459RHSA-2013:1458
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6085 updated cvss 4.3
GnuPG: read_block() corrupt key input validation
-
Red Hat Enterprise Linux (v. 5 server) gnupg 1.4.5-18.el5_10, gnupg2 2.0.10-6.el5_10 Red Hat Enterprise Linux Desktop (v. 5 client) gnupg 1.4.5-18.el5_10, gnupg2 2.0.10-6.el5_10fixed: vendor fix RHSA-2013:1458
-
Red Hat Enterprise Linux Desktop (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux Desktop Optional (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux HPC Node (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux Server (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4fixed: vendor fix RHSA-2013:1459
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4 Red Hat Enterprise Linux Workstation Optional (v. 6) gnupg2 2.0.14-6.el6_4, gnupg2-smime 2.0.14-6.el6_4
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.91% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.g10code.com https://bugs.g10code.com/gnupg/issue1455 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bugs.g10code.com
/gnupg/issue1455
exploit
-
lists.fedoraproject.org
/pipermail/package-announce/2013-January/095516.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-January/095513.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1459.html
vendor-advisory
-
ubuntu.com
/usn/USN-1682-1
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:001
vendor-advisory
- bugzilla.redhat.com /show_bug.cgi?id=891142
-
securityfocus.com
/bid/57102
vdb-entry
- git.gnupg.org /cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commitdiff%3Bh=f0b33b6fb8e0586e9584a7a409dcc31263776a67
-
openwall.com
/lists/oss-security/2013/01/01/6
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/80990
vdb-entry
Sources
- CVE List CVE-2012-6085
- NVD CVE-2012-6085
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.