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,...
CVE-2012-6085 is a medium vulnerability (CVSS 5.8) in Gnupg, published January 6, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.91%, the 87th percentile. Fixed in gnupg2 2.0.19-2.
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.
Exploit likelihood
What each source reports
NVD Score used
5.8
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.
- Record
CVE-2012-6085- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-6085- Updated
- 2026-11-02
EUVDEUVD-2012-5956 No score
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.
- Record
EUVD-2012-5956- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5m4p-hwr3-qvm6 No score
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,...
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.
- Record
GHSA-5m4p-hwr3-qvm6- Weakness
- CWE-20
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-6085- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-6085 No score
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.
- Record
DEBIAN-CVE-2012-6085- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gnupg2Debian:12 |
before 2.0.19-2 | 2.0.19-2 |
gnupg2Debian:13 |
before 2.0.19-2 | 2.0.19-2 |
gnupg2Debian:14 |
before 2.0.19-2 | 2.0.19-2 |
gnupgDebian:6.0 |
before 1.4.10-4+squeeze1, plus listed versions 1.4.10-4 |
1.4.10-4+squeeze1 |
gnupg2Debian:6.0 |
before 2.0.14-2+squeeze1, plus listed versions 2.0.14-2 |
2.0.14-2+squeeze1 |
gnupgRed Hat:enterprise_linux:5::client |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupg-debuginfoRed Hat:enterprise_linux:5::client |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupgRed Hat:enterprise_linux:5::server |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupg-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
gnupg2Red Hat:enterprise_linux:5::client |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gnupg2-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2Red Hat:enterprise_linux:5::server |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
gnupg2Red Hat:enterprise_linux:6::client |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::client |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::computenode |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::computenode |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::server |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::server |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2Red Hat:enterprise_linux:6::workstation |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
gnupg2-smimeRed Hat:enterprise_linux:6::workstation |
before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=891142
bugs.g10code.com/gnupg/issue1455
securityfocus.com/bid/57102
lists.fedoraproject.org/pipermail/package-announce/2013-January/095516.html
git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commitdiff%3Bh=f0b33b6fb8e0586e9584a7a409dcc31263776a67
openwall.com/lists/oss-security/2013/01/01/6
Show 29 moreShow less
lists.fedoraproject.org/pipermail/package-announce/2013-January/095513.html
rhn.redhat.com/errata/RHSA-2013-1459.html
ubuntu.com/usn/USN-1682-1
mandriva.com/security/advisories?name=MDVSA-2013:001
exchange.xforce.ibmcloud.com/vulnerabilities/80990
nvd.nist.gov/vuln/detail/CVE-2012-6085
git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=f0b33b6fb8e0586e9584a7a409dcc31263776a67
access.redhat.com/errata/RHSA-2013:1458
access.redhat.com/errata/RHSA-2013:1459
access.redhat.com/security/cve/CVE-2012-6085
github.com/advisories/GHSA-5m4p-hwr3-qvm6
security-tracker.debian.org/tracker/CVE-2012-6085
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=988589
bugzilla.redhat.com/show_bug.cgi?id=1010137
bugzilla.redhat.com/show_bug.cgi?id=1015685
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1458.json
cve.org/CVERecord?id=CVE-2012-6085
access.redhat.com/security/cve/CVE-2013-4242
cve.org/CVERecord?id=CVE-2013-4242
nvd.nist.gov/vuln/detail/CVE-2013-4242
eprint.iacr.org/2013/448
access.redhat.com/security/cve/CVE-2013-4351
cve.org/CVERecord?id=CVE-2013-4351
nvd.nist.gov/vuln/detail/CVE-2013-4351
access.redhat.com/security/cve/CVE-2013-4402
cve.org/CVERecord?id=CVE-2013-4402
nvd.nist.gov/vuln/detail/CVE-2013-4402
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1459.json