{"id":"CVE-2015-1607","aliases":["DEBIAN-CVE-2015-1607","EUVD-2015-1738","GHSA-4w8p-vqv2-2g8w","MGASA-2015-0359","SUSE-SU-2015:2170-1","SUSE-SU-2015:2171-1","SUSE-SU-2015:2171-2","UBUNTU-CVE-2015-1607","USN-2554-1"],"status":"published","title":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not...","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02473,"percentile":0.84625,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2015-02-16T00:00:00Z","modified":"2026-09-09T07:00:30Z","fixes":[{"ecosystem":"Debian:12","package":"gnupg2","fixed_in":["2.0.26-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gnupg2","fixed_in":["2.0.26-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gnupg2","fixed_in":["2.0.26-5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"gnupg","fixed_in":["1.4.16-1ubuntu2.3"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"gnupg2","fixed_in":["2.0.22-3ubuntu1.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.26-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.26-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.26-5"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.16-1.3.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:4","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.22-3.2.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 11 SP3","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 11 SP4","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP3","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-25.33.41.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.24-3.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.16-1ubuntu2.3"}]}],"versions":["1.4.14-1ubuntu2","1.4.15-1.1ubuntu1","1.4.15-1.1ubuntu2","1.4.15-2ubuntu1","1.4.16-1ubuntu1","1.4.16-1ubuntu2","1.4.16-1ubuntu2.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.22-3ubuntu1.3"}]}],"versions":["2.0.20-1ubuntu3","2.0.22-1ubuntu1","2.0.22-3ubuntu1","2.0.22-3ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.16-1ubuntu2.3"}]}],"versions":["1.4.14-1ubuntu2","1.4.15-1.1ubuntu1","1.4.15-1.1ubuntu2","1.4.15-2ubuntu1","1.4.16-1ubuntu1","1.4.16-1ubuntu2","1.4.16-1ubuntu2.1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"gnupg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.22-3ubuntu1.3"}]}],"versions":["2.0.20-1ubuntu3","2.0.22-1ubuntu1","2.0.22-3ubuntu1","2.0.22-3ubuntu1.1"],"bundled":5}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"gnupg","product":"gnupg"}],"references":[{"url":"https://blog.fuzzing-project.org/5-Multiple-issues-in-GnuPG-found-through-keyring-fuzzing-TFPA-0012015.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000363.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Release Notes","Vendor Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2015/02/13/14","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2015/02/14/6","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000361.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Release Notes","Vendor Advisory","advisory","article"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2015q1/000362.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Release Notes","Vendor Advisory","advisory","article"]},{"url":"http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git%3Ba=commit%3Bh=2183683bd633818dd031b090b5530951de76f392","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/usn-2554-1/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/72610","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1607"},{"url":"http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=2183683bd633818dd031b090b5530951de76f392"},{"url":"https://github.com/advisories/GHSA-4w8p-vqv2-2g8w"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-1607","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2015-0359.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15483","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2015/suse-su-20152170-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/918089","tags":["report"]},{"url":"https://bugzilla.suse.com/918090","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1606","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1607","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2015/suse-su-20152171-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/952347","tags":["report"]},{"url":"https://bugzilla.suse.com/955753","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2015/suse-su-20152171-2/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-1607","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2554-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1607","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-3591","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-5270","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-0837","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-1606","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-1607","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2019-11-20T18:30:54Z","modified":"2024-08-06T04:47:17.389Z","updated_at":"2026-11-02T14:35:44.046042Z"}],"euvd":[{"id":"EUVD-2015-1738","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2019-11-20T18:30:54Z","modified":"2024-08-06T04:47:17Z","updated_at":"2026-11-03T02:22:15.089401Z"}],"ghsa":[{"id":"GHSA-4w8p-vqv2-2g8w","title":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not...","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2022-05-24T17:01:35Z","modified":"2023-01-28T05:08:20Z","updated_at":"2026-11-02T14:44:36.910779Z"}],"nvd":[{"id":"CVE-2015-1607","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2019-11-20T19:15:11.25Z","modified":"2026-06-17T00:22:41.467Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:19.73542Z"}],"osv":[{"id":"CVE-2015-1607","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2019-11-20T19:15:11Z","modified":"2026-04-16T06:15:10.045794999Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:00.097545Z"},{"id":"DEBIAN-CVE-2015-1607","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2019-11-20T19:15:11.25Z","modified":"2026-09-09T07:00:30.424931506Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:26.752992Z"},{"id":"UBUNTU-CVE-2015-1607","description":"kbx/keybox-search.c in GnuPG before 1.4.19, 2.0.x before 2.0.27, and 2.1.x before 2.1.2 does not properly handle bitwise left-shifts, which allows remote attackers to cause a denial of service (invalid read operation) via a crafted keyring file, related to sign extensions and \"memcpy with overlapping ranges.\"","status":"published","published":"2015-02-16T00:00:00Z","modified":"2026-02-04T02:39:09.412365Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:10.045446Z"},{"id":"MGASA-2015-0359","title":"Updated gnupg packages fix security vulnerabilities","description":"Updated gnupg and gnupg2 packages fix security vulnerabilities:\n\nHanno Böck discovered that GnuPG incorrectly handled certain malformed\nkeyrings. If a user or automated system were tricked into opening a\nmalformed keyring, a remote attacker could use this issue to cause GnuPG to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode (CVE-2015-1606, CVE-2015-1607).\n","status":"published","published":"2015-09-13T21:58:30Z","modified":"2026-04-16T06:24:47.62472136Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"SUSE-SU-2015:2170-1","title":"Security update for gpg2","description":"\nThis update for gpg2 fixes the following issues: \n\n- Fix cve-2015-1606 (bsc#918089)\n  * Invalid memory read using a garbled keyring\n  * 0001-Gpg-prevent-an-invalid-memory-read-using-a-garbled-k.patch\n- Fix cve-2015-1607 (bsc#918090)\n  * Memcpy with overlapping ranges\n  * 0001-Use-inline-functions-to-convert-buffer-data-to-scala.patch\n","status":"published","published":"2015-12-02T12:47:31Z","modified":"2026-02-04T03:16:27.891248Z","updated_at":"2026-11-02T15:53:43.030986Z"},{"id":"SUSE-SU-2015:2171-1","title":"Security update for gpg2","description":"The gpg2 package was updated to fix the following security and non security issues:\n\n- CVE-2015-1606: Fixed invalid memory read using a garbled keyring (bsc#918089).\n- CVE-2015-1607: Fixed memcpy with overlapping ranges (bsc#918090).\n\n- bsc#955753: Fixed a regression of 'gpg --recv' due to keyserver import filter (also boo#952347). \n","status":"published","published":"2015-12-22T07:44:38Z","modified":"2026-02-04T03:38:18.369232Z","updated_at":"2026-11-02T15:53:43.030986Z"},{"id":"SUSE-SU-2015:2171-2","title":"Security update for gpg2","description":"The gpg2 package was updated to fix the following security and non security issues:\n\n- CVE-2015-1606: Fixed invalid memory read using a garbled keyring (bsc#918089).\n- CVE-2015-1607: Fixed memcpy with overlapping ranges (bsc#918090).\n\n- bsc#955753: Fixed a regression of 'gpg --recv' due to keyserver import filter (also boo#952347). \n","status":"published","published":"2015-12-22T07:44:34Z","modified":"2025-05-02T04:04:24.421837Z","updated_at":"2026-11-02T15:53:43.030986Z"},{"id":"USN-2554-1","title":"gnupg, gnupg2 vulnerabilities","description":"Daniel Genkin, Lev Pachmanov, Itamar Pipman, and Eran Tromer discovered\nthat GnuPG was susceptible to an attack via physical side channels. A local\nattacker could use this attack to possibly recover private keys.\n(CVE-2014-3591)\n\nDaniel Genkin, Adi Shamir, and Eran Tromer discovered that GnuPG was\nsusceptible to an attack via physical side channels. A local attacker could\nuse this attack to possibly recover private keys. (CVE-2015-0837)\n\nHanno Böck discovered that GnuPG incorrectly handled certain malformed\nkeyrings. If a user or automated system were tricked into opening a\nmalformed keyring, a remote attacker could use this issue to cause GnuPG to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2015-1606, CVE-2015-1607)\n\nIn addition, this update improves GnuPG security by validating that the\nkeys returned by keyservers match those requested.\n","status":"published","published":"2015-04-01T13:23:13Z","modified":"2026-02-10T04:40:53Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
