CVE-2020-25125

Source
https://cve.org/CVERecord?id=CVE-2020-25125
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25125.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-25125
Downstream
Related
Published
2020-09-03T18:15:15.160Z
Modified
2026-07-08T05:56:18.669854685Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.2.21"
                },
                {
                    "last_affected": "2.2.21"
                },
                {
                    "introduced": "2.2.22"
                },
                {
                    "last_affected": "2.2.22"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "gnupg:gnupg",
            "cpes": [
                "cpe:2.3:a:gnupg:gnupg:2.2.21:*:*:*:*:*:*:*",
                "cpe:2.3:a:gnupg:gnupg:2.2.22:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / git.gnupg.org/gpg4win.git

Affected ranges

Type
GIT
Repo
git://git.gnupg.org/gpg4win.git
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:gpg4win:gpg4win:3.1.12:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.1.12"
        },
        {
            "last_affected": "3.1.12"
        }
    ]
}

Affected versions

3.*
3.1.12
gpg4win-3.*
gpg4win-3.1.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25125.json"