CVE-2020-25125
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.3% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-120 · Classic buffer overflow
- Record status
- Modified
Affected
- Gnupg 2.2.21
- Gnupg 2.2.22
- gpg4win 3.1.12
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2020-25125.md and follow it. Check whether this project is affected by CVE-2020-25125. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc
- https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html
- https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc
- https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html
References
- http://www.openwall.com/lists/oss-security/2020/09/03/4
- http://www.openwall.com/lists/oss-security/2020/09/03/5
- https://bugzilla.opensuse.org/show_bug.cgi?id=1176034
- https://dev.gnupg.org/T5050
- https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc
- https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html
- http://www.openwall.com/lists/oss-security/2020/09/03/4
- http://www.openwall.com/lists/oss-security/2020/09/03/5
- https://bugzilla.opensuse.org/show_bug.cgi?id=1176034
- https://dev.gnupg.org/T5050
- https://dev.gnupg.org/rG8ec9573e57866dda5efb4677d4454161517484bc
- https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000448.html