{"id":"CVE-2012-6085","aliases":["DEBIAN-CVE-2012-6085","DSA-2601-1","EUVD-2012-5956","GHSA-5m4p-hwr3-qvm6","RHSA-2013:1458","RHSA-2013:1459"],"status":"published","title":"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,...","description":"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.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02912,"percentile":0.87085,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2013-01-06T00:00:00Z","modified":"2026-10-23T17:47:47Z","fixes":[{"ecosystem":"Debian:12","package":"gnupg2","fixed_in":["2.0.19-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gnupg2","fixed_in":["2.0.19-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gnupg2","fixed_in":["2.0.19-2"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"gnupg","fixed_in":["1.4.10-4+squeeze1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"gnupg2","fixed_in":["2.0.14-2+squeeze1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-2"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.10-4+squeeze1"}]}],"versions":["1.4.10-4"]},{"source":"osv","ecosystem":"Debian:6.0","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14-2+squeeze1"}]}],"versions":["2.0.14-2"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.5-18.el5_10"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"gnupg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.5-18.el5_10"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.5-18.el5_10"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"gnupg-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.4.5-18.el5_10"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.10-6.el5_10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.10-6.el5_10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.10-6.el5_10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.10-6.el5_10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"gnupg2-smime","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"gnupg2-smime","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"gnupg2-smime","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"gnupg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"gnupg2-smime","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.0.14-6.el6_4"}]}],"bundled":3}],"products":[{"vendor":"gnupg","product":"gnupg"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=891142","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"https://bugs.g10code.com/gnupg/issue1455","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence"]},{"url":"http://www.securityfocus.com/bid/57102","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-January/095516.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commitdiff%3Bh=f0b33b6fb8e0586e9584a7a409dcc31263776a67","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/01/01/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-January/095513.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1459.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1682-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:001","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80990","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6085","tags":["advisory"]},{"url":"http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=f0b33b6fb8e0586e9584a7a409dcc31263776a67"},{"url":"https://access.redhat.com/errata/RHSA-2013:1458","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:1459","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-6085","tags":["report"]},{"url":"https://github.com/advisories/GHSA-5m4p-hwr3-qvm6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-6085","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=988589","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1010137","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1015685","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1458.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6085","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-4242","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4242","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4242","tags":["advisory"]},{"url":"http://eprint.iacr.org/2013/448","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-4351","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4351","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4351","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-4402","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4402","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4402","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1459.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-6085","description":"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.","status":"published","published":"2013-01-24T01:00:00Z","modified":"2024-08-06T21:21:28.395Z","updated_at":"2026-11-02T14:34:50.94153Z"}],"euvd":[{"id":"EUVD-2012-5956","description":"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.","status":"published","published":"2013-01-24T01:00:00Z","modified":"2024-08-06T21:21:28Z","updated_at":"2026-11-03T01:56:02.968969Z"}],"ghsa":[{"id":"GHSA-5m4p-hwr3-qvm6","title":"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,...","description":"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.","status":"published","published":"2022-05-17T01:37:42Z","modified":"2023-02-10T05:06:51Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:54:02.847747Z"}],"nvd":[{"id":"CVE-2012-6085","description":"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.","status":"published","published":"2013-01-24T01:55:03.74Z","modified":"2026-06-16T23:47:47.84Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:16.958223Z"}],"osv":[{"id":"CVE-2012-6085","description":"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.","status":"published","published":"2013-01-24T01:55:03Z","modified":"2026-04-10T03:43:14.651679Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-6085","description":"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.","status":"published","published":"2013-01-24T01:55:03.74Z","modified":"2026-10-23T17:47:47.626122157Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DSA-2601-1","title":"gnupg - missing input sanitation","status":"published","published":"2013-01-06T00:00:00Z","modified":"2026-03-09T01:18:56.735371Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"RHSA-2013:1458","title":"Red Hat Security Advisory: gnupg security update","status":"published","published":"2024-09-15T21:10:32Z","modified":"2026-06-26T10:22:28Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"RHSA-2013:1459","title":"Red Hat Security Advisory: gnupg2 security update","status":"published","published":"2024-09-15T21:10:33Z","modified":"2026-06-26T10:22:29Z","updated_at":"2026-11-02T15:53:01.993625Z"}]}}
