Critical severity · published Jan 12, 2023
CVE-2022-3515
A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser
9.8
CVSS
1.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 77% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GN
Gnupg · Gnupg
2.1.0 before 2.2.41; 2.3.0 before 2.4.0 · source: NVD
GP
Gpg4win · Gpg4win
2.0.0 before 4.1.0 · source: NVD
LI
Libksba · Gnupg
before 1.6.3 · source: NVD
VS
Vs-desktop · Gnupg
3.1.16 before 3.1.26 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-3515
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-3515
Patch
https://access.redhat.com/security/cve/CVE-2022-3515
Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=2135610
Exploit
https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b
security.netapp.com
https://security.netapp.com/advisory/ntap-20230706-0008/
Third Party Advisory
https://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html
More from Gnupg
9.8
CVE-2026-24881
In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during…
8.8
CVE-2018-1000858
GnuPG version 2.1.12 - 2.2.11 contains a Cross ite Request Forgery (CSRF) vulnerability in dirmngr that can result in Attacker controlled CSRF, Information Disclosure, DoS
8.1
CVE-2010-2547
Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary…
7.8
CVE-2026-24882
In GnuPG before 2.5.17, a stack-based buffer overflow exists in tpm2daemon during handling of the PKDECRYPT command for TPM-backed RSA and ECC keys
7.8
CVE-2020-25125
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…
