Skip to content
Fencer Intel
medium 5.8

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_10
    fixed: 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_4
    +2 more products
    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
    fixed: vendor fix RHSA-2013:1459

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

Sources

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.