Vulnerabilities · 2022 · Gnupg
CVE-2022-3515
Gnupg Libksba vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Libksba, Gpg4win, Vs-desktop, Gnupg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnupg Libksba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2022-3515 · Patch
- dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b · Exploit
- bugzilla.redhat.com/show_bug.cgi?id=2135610 · Exploit
- www.gnupg.org/blog/20221017-pepe-left-the-ksba.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20230706-0008/
- nvd.nist.gov/vuln/detail/CVE-2022-3515
- cve.org/CVERecord?id=CVE-2022-3515
More vulnerabilities in Gnupg products
CVE-2026-24883CVE-2026-24882CVE-2025-68973CVE-2025-68972CVE-2025-30258CVE-2022-47629CVE-2022-34903CVE-2022-3219All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.