CVE-2022-3515: Integer Overflow
A bug found in libksba, the library used by GnuPG for parsing the ASN.1 structures as used by S/MIME. The bug affects all versions of Libksba before 1.6.2 and may be used for remote code execution.
https://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html https://dev.gnupg.org/T6230 https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b https://lwn.net/Articles/911467/
Other sources
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.
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID for this Libksba vulnerability?
The vulnerability ID for this Libksba vulnerability is CVE-2022-3515.
What is the severity of CVE-2022-3515?
The severity of CVE-2022-3515 is critical (9.8).
How does the vulnerability in the Libksba library occur?
The vulnerability in the Libksba library occurs due to an integer overflow within the CRL parser.
How can the vulnerability in Libksba be exploited?
The vulnerability in Libksba 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.
Where can I find more information about CVE-2022-3515?
You can find more information about CVE-2022-3515 at the following references: [link1](https://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html), [link2](https://dev.gnupg.org/T6230), [link3](https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b).