CVE-2012-6085

Summary

CVECVE-2012-6085
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-01-24 01:55:03 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 5.8 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:N/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnupg Gnupg 1.4.0 All All All
Application Gnupg Gnupg 1.4.10 All All All
Application Gnupg Gnupg 1.4.11 All All All
Application Gnupg Gnupg 1.4.12 All All All
Application Gnupg Gnupg 1.4.2 All All All
Application Gnupg Gnupg 1.4.3 All All All
Application Gnupg Gnupg 1.4.4 All All All
Application Gnupg Gnupg 1.4.5 All All All
Application Gnupg Gnupg 1.4.8 All All All
Application Gnupg Gnupg 2.0 All All All
Application Gnupg Gnupg 2.0.1 All All All
Application Gnupg Gnupg 2.0.10 All All All
Application Gnupg Gnupg 2.0.11 All All All
Application Gnupg Gnupg 2.0.12 All All All
Application Gnupg Gnupg 2.0.13 All All All
Application Gnupg Gnupg 2.0.14 All All All
Application Gnupg Gnupg 2.0.15 All All All
Application Gnupg Gnupg 2.0.16 All All All
Application Gnupg Gnupg 2.0.17 All All All
Application Gnupg Gnupg 2.0.18 All All All
Application Gnupg Gnupg 2.0.19 All All All
Application Gnupg Gnupg 2.0.3 All All All
Application Gnupg Gnupg 2.0.4 All All All
Application Gnupg Gnupg 2.0.5 All All All
Application Gnupg Gnupg 2.0.6 All All All
Application Gnupg Gnupg 2.0.7 All All All
Application Gnupg Gnupg 2.0.8 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Issue 1455: pubring.gpg corruption on invalid public key - g10 Code's BTS af854a3a-2127-422b-91ae-364da2661108 bugs.g10code.com Exploit
Support / Security / Advisories / / MDVSA-2013:001 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
[SECURITY] Fedora 18 Update: gnupg-1.4.13-2.fc18 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
USN-1682-1: GnuPG vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
891142 – (CVE-2012-6085) CVE-2012-6085 GnuPG: read_block() corrupt key input validation af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
oss-security - Re: GnuPG 1.4.12 and lower - memory access errors and keyring database corruption af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
[SECURITY] Fedora 18 Update: gnupg2-2.0.19-7.fc18 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
GnuPG CVE-2012-6085 Multiple Remote Memory Corruption Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
git.gnupg.org Git - gnupg.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.gnupg.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
git.gnupg.org Git - gnupg.git/commitdiff MITRE git.gnupg.org
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
access.redhat.com | CVE-2012-6085 MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report