CVE-2022-3515: Gnupg
Critical severity, CVSS 9.8. EPSS: 2.0% probability of exploitation activity in the next 30 days.
A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser. The vulnerability can be exploited remotely for code execution on the target system by passing specially crafted data to the application, for example, a malicious S/MIME attachment.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Gnupg, from 2.1.0, before 2.2.41: fixed in 2.2.41
- Gnupg, from 2.3.0, before 2.4.0: fixed in 2.4.0
- Gnupg Libksba, before 1.6.3: fixed in 1.6.3
- Gnupg Vs-Desktop, from 3.1.16, before 3.1.26: fixed in 3.1.26
- GPG4WIN, from 2.0.0, before 4.1.0: fixed in 4.1.0
Affected products
- Gnupg Gnupg: from 2.1.0, before 2.2.41 (fixed in 2.2.41); from 2.3.0, before 2.4.0 (fixed in 2.4.0)
- Gnupg Libksba: before 1.6.3 (fixed in 1.6.3)
- Gnupg Vs-Desktop: from 3.1.16, before 3.1.26 (fixed in 3.1.26)
- GPG4WIN GPG4WIN: from 2.0.0, before 4.1.0 (fixed in 4.1.0)
Published 2023-01-12. Last modified 2026-06-17.