Skip to content
Noroxi
CVE-2012-6085· NVD / CVE Program· CNA redhat

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

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.

MediumCVSS 5.8 · v2.0—No exploit Fix available
Published
Jan 23, 2013
Updated
Jun 16, 2026
EPSS
2.9% · 86th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
23 / 40 · 5.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.9%

Affected systems

VendorProduct
gnupggnupg

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • gnupg gnupg1.4.0
  • gnupg gnupg1.4.10
  • gnupg gnupg1.4.11
  • gnupg gnupg1.4.12
  • gnupg gnupg1.4.2
  • gnupg gnupg1.4.3
  • gnupg gnupg1.4.4
  • gnupg gnupg1.4.5
  • gnupg gnupg1.4.8
  • gnupg gnupg2.0
  • gnupg gnupg2.0.1
  • gnupg gnupg2.0.10
  • gnupg gnupg2.0.11
  • gnupg gnupg2.0.12
  • gnupg gnupg2.0.13
  • gnupg gnupg2.0.14
  • gnupg gnupg2.0.15
  • gnupg gnupg2.0.16
  • gnupg gnupg2.0.17
  • gnupg gnupg2.0.18

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12gnupg2before 2.0.19-22.0.19-2
Debian:6.0gnupgbefore 1.4.10-4+squeeze11.4.10-4+squeeze1
Debian:6.0gnupg2before 2.0.14-2+squeeze12.0.14-2+squeeze1
Red Hat:enterprise_linux:5::clientgnupgbefore 0:1.4.5-18.el5_100:1.4.5-18.el5_10
Red Hat:enterprise_linux:5::clientgnupg-debuginfobefore 0:1.4.5-18.el5_100:1.4.5-18.el5_10
Red Hat:enterprise_linux:5::clientgnupg2before 0:2.0.10-6.el5_100:2.0.10-6.el5_10
Red Hat:enterprise_linux:5::clientgnupg2-debuginfobefore 0:2.0.10-6.el5_100:2.0.10-6.el5_10
Red Hat:enterprise_linux:6::clientgnupg2before 0:2.0.14-6.el6_40:2.0.14-6.el6_4
Red Hat:enterprise_linux:6::clientgnupg2-debuginfobefore 0:2.0.14-6.el6_40:2.0.14-6.el6_4
Red Hat:enterprise_linux:6::clientgnupg2-smimebefore 0:2.0.14-6.el6_40:2.0.14-6.el6_4

Other highest-scoring records for the same primary product.

  • CVE-2026-24881In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffe
    40Plan
  • CVE-2008-1530GnuPG (gpg) 1.4.8 and 2.0.8 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted dup
    38Monitor
  • CVE-2018-1000858GnuPG version 2.1.12 - 2.2.11 contains a Cross ite Request Forgery (CSRF) vulnerability in dirmngr that can result in Attacker controlled CS
    35Monitor
  • CVE-2010-2547Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service
    34Monitor
  • CVE-2018-12020mainproc.c in GnuPG before 2.2.8 mishandles the original filename during decryption and verification actions, which allows remote attackers
    33Monitor
  • CVE-2026-24882In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and E
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:gnupg1.4.10-4+squeeze1 · Debian:6.0Package registry (OSV)
debian:gnupg22.0.19-2 · Debian:12Package registry (OSV)
red hat:gnupg0:1.4.5-18.el5_10 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:gnupg-debuginfo0:1.4.5-18.el5_10 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:gnupg20:2.0.10-6.el5_10 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:gnupg2-debuginfo0:2.0.10-6.el5_10 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:gnupg2-smime0:2.0.14-6.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records