{"api_version":"1","generated_at":"2026-04-22T21:14:53+00:00","cve":"CVE-2020-25125","urls":{"html":"https://cve.report/CVE-2020-25125","api":"https://cve.report/api/cve/CVE-2020-25125.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-25125","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-25125"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2020-09-03 18:15:00","updated_at":"2020-09-11 13:49:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2020/09/03/4","name":"[oss-security] 20200903 GNUPG released with AEAD sec fix CVE-2020-25125","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - GNUPG released with AEAD sec fix CVE-2020-25125","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2020/09/03/5","name":"[oss-security] 20200903 CVE-2020-25125: gnupg2: buffer overflow when importing a key with AEAD preferences","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE-2020-25125: gnupg2: buffer overflow when importing a key with\n AEAD preferences","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=1176034","name":"https://bugzilla.opensuse.org/show_bug.cgi?id=1176034","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Bug 1176034 – VUL-0: CVE-2020-25125: gpg2: AEAD preference list overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://dev.gnupg.org/T5050","name":"https://dev.gnupg.org/T5050","refsource":"MISC","tags":["Mailing List"],"title":"⚓ T5050 AEAD preference list overflow in 2.2","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html","refsource":"MISC","tags":["Vendor Advisory"],"title":"[Announce] [security fix] GnuPG 2.2.23 released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc","name":"https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"rG8ec9573e5786","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25125","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25125","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"gnupg","cpe6":"2.2.21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"gnupg","cpe6":"2.2.22","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"gnupg","cpe6":"2.2.21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnupg","cpe5":"gnupg","cpe6":"2.2.22","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gpg4win","cpe5":"gpg4win","cpe6":"3.1.12","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25125","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gpg4win","cpe5":"gpg4win","cpe6":"3.1.12","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-25125","qid":"500229","title":"Alpine Linux Security Update for gnupg"},{"cve":"CVE-2020-25125","qid":"503974","title":"Alpine Linux Security Update for gnupg"},{"cve":"CVE-2020-25125","qid":"671538","title":"EulerOS Security Update for gnupg2 (EulerOS-SA-2022-1505)"},{"cve":"CVE-2020-25125","qid":"671540","title":"EulerOS Security Update for gnupg2 (EulerOS-SA-2022-1486)"},{"cve":"CVE-2020-25125","qid":"690473","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for gnupg (f9fa7adc-ee51-11ea-a240-002590acae31)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-25125","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://bugzilla.opensuse.org/show_bug.cgi?id=1176034","refsource":"MISC","name":"https://bugzilla.opensuse.org/show_bug.cgi?id=1176034"},{"url":"https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc","refsource":"MISC","name":"https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc"},{"url":"https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html","refsource":"MISC","name":"https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html"},{"url":"https://dev.gnupg.org/T5050","refsource":"MISC","name":"https://dev.gnupg.org/T5050"},{"refsource":"MLIST","name":"[oss-security] 20200903 GNUPG released with AEAD sec fix CVE-2020-25125","url":"http://www.openwall.com/lists/oss-security/2020/09/03/4"},{"refsource":"MLIST","name":"[oss-security] 20200903 CVE-2020-25125: gnupg2: buffer overflow when importing a key with AEAD preferences","url":"http://www.openwall.com/lists/oss-security/2020/09/03/5"}]}},"nvd":{"publishedDate":"2020-09-03 18:15:00","lastModifiedDate":"2020-09-11 13:49:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnupg:gnupg:2.2.22:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gpg4win:gpg4win:3.1.12:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnupg:gnupg:2.2.21:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"25125","Ordinal":"186535","Title":"CVE-2020-25125","CVE":"CVE-2020-25125","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"25125","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"25125","Ordinal":"2","NoteData":"2020-09-03","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"25125","Ordinal":"3","NoteData":"2020-09-03","Type":"Other","Title":"Modified"}]}}}