{"id":"CVE-2020-25125","aliases":["ALPINE-CVE-2020-25125","BELL-CVE-2020-25125","EUVD-2020-17816","GHSA-g8h3-hp92-c5qx","openSUSE-SU-2024:10815-1"],"status":"published","title":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or...","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01283,"percentile":0.7046,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2020-09-03T17:48:07Z","modified":"2026-10-26T11:17:55Z","fixes":[{"ecosystem":"Alpine:v3.12","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"gnupg","fixed_in":["2.2.23-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.12","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"gnupg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.23-r0"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"gpg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.27-2.4"}]}],"bundled":8}],"products":[{"vendor":"gnupg","product":"gnupg"},{"vendor":"gpg4win","product":"gpg4win"}],"references":[{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=1176034","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://dev.gnupg.org/T5050","tags":["x_refsource_MISC","x_transferred","Mailing List","article"]},{"url":"http://www.openwall.com/lists/oss-security/2020/09/03/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/09/03/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25125"},{"url":"https://github.com/advisories/GHSA-g8h3-hp92-c5qx"},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-25125","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2020-25125","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-0455","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-3746","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-6169","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2008-1530","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12020","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9234","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-14855","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-25125","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-25125","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2020-09-03T17:48:07Z","modified":"2024-08-04T15:26:09.468Z","updated_at":"2026-11-02T14:35:48.52216Z"}],"euvd":[{"id":"EUVD-2020-17816","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2020-09-03T17:48:07Z","modified":"2024-08-04T15:26:09Z","updated_at":"2026-11-03T03:07:18.192905Z"}],"ghsa":[{"id":"GHSA-g8h3-hp92-c5qx","title":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or...","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2022-05-24T17:27:22Z","modified":"2023-01-29T05:03:44Z","updated_at":"2026-11-02T14:45:23.726919Z"}],"nvd":[{"id":"CVE-2020-25125","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2020-09-03T18:15:15.16Z","modified":"2026-06-17T03:06:24.997Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:06:13.600965Z"}],"osv":[{"id":"ALPINE-CVE-2020-25125","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2020-09-03T18:15:15.16Z","modified":"2026-10-26T11:17:55.151723706Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.11886Z"},{"id":"BELL-CVE-2020-25125","title":"CVE-2020-25125 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:16:02.709672Z","modified":"2026-01-26T09:49:56.946465Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:15.925958Z"},{"id":"CVE-2020-25125","description":"GnuPG 2.2.21 and 2.2.22 (and Gpg4win 3.1.12) has an array overflow, leading to a crash or possibly unspecified other impact, when a victim imports an attacker's OpenPGP key, and this key has AEAD preferences. The overflow is caused by a g10/key-check.c error. NOTE: GnuPG 2.3.x is unaffected. GnuPG 2.2.23 is a fixed version.","status":"published","published":"2020-09-03T18:15:15.16Z","modified":"2026-10-24T10:30:25.35277032Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:15.879068Z"},{"id":"openSUSE-SU-2024:10815-1","title":"dirmngr-2.2.27-2.4 on GA media","description":"These are all security issues fixed in the dirmngr-2.2.27-2.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:45:05.784342Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
