# CVE-2022-3515: Gpg4win: Integer Overflow or Wraparound

CVE-2022-3515 is fixed in 6 products on 2 platforms, first by libksba8 1.3.5-2ubuntu0.18.04.1, released October 16, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-3515
- Priority: High
- CVSS: 9.8 (Important)
- EPSS: 0.0170
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 16, 2022
- Weakness: CWE-190: Integer Overflow or Wraparound
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-3515

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Gpg4win | 4.1.0 | [Gpg4win 4.1.0](https://patchblox.com/security/data/fix/windows-app/gnupg.gpg4win-4.1.0.md) | Dec 19, 2022 |
| Linux | libksba Debian 11.6 (bullseye) | 1.5.0-3+deb11u1 | [DSA-5255-1](https://patchblox.com/security/data/fix/linux/dsa-5255-1.md) | Oct 17, 2022 |
| Linux | libksba Debian 12.15 (bookworm) | 1.6.2-1 | [DEBIAN-CVE-2022-3515](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3515.md) | Jan 12, 2023 |
| Linux | libksba Debian 13.5 (trixie) | 1.6.2-1 | [DEBIAN-CVE-2022-3515](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3515.md) | Jan 12, 2023 |
| Linux | libksba Debian 14 | 1.6.2-1 | [DEBIAN-CVE-2022-3515](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3515.md) | Jan 12, 2023 |
| Linux | libksba RHEL 8 | 0:1.3.5-8.el8_6 | [RHSA-2022:7089](https://patchblox.com/security/data/fix/linux/rhsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba RHEL 9 | 0:1.5.1-5.el9_0 | [RHSA-2022:7090](https://patchblox.com/security/data/fix/linux/rhsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba almalinux 8 | 1.3.5-8.el8_6 | [ALSA-2022:7089](https://patchblox.com/security/data/fix/linux/alsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba almalinux 9 | 1.5.1-5.el9_0 | [ALSA-2022:7090](https://patchblox.com/security/data/fix/linux/alsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba amzn 2023 | 1.6.3-1.amzn2023.0.2 | [ALAS2023-2023-088](https://patchblox.com/security/data/fix/linux/alas2023-2023-088.md) | Feb 17, 2023 |
| Linux | libksba ol 8 | 0:1.3.5-8.el8_6 | [ELSA-2022-7089](https://patchblox.com/security/data/fix/linux/elsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba ol 9 | 0:1.5.1-5.el9_0 | [ELSA-2022-7090](https://patchblox.com/security/data/fix/linux/elsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba rocky 8 | 0:1.3.5-8.el8_6 | [RLSA-2022:7089](https://patchblox.com/security/data/fix/linux/rlsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba rocky 9 | 0:1.5.1-5.el9_0 | [RLSA-2022:7090](https://patchblox.com/security/data/fix/linux/rlsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba-debuginfo amzn 2023 | 1.6.3-1.amzn2023.0.2 | [ALAS2023-2023-088](https://patchblox.com/security/data/fix/linux/alas2023-2023-088.md) | Feb 17, 2023 |
| Linux | libksba-debugsource amzn 2023 | 1.6.3-1.amzn2023.0.2 | [ALAS2023-2023-088](https://patchblox.com/security/data/fix/linux/alas2023-2023-088.md) | Feb 17, 2023 |
| Linux | libksba-devel RHEL 8 | 0:1.3.5-8.el8_6 | [RHSA-2022:7089](https://patchblox.com/security/data/fix/linux/rhsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba-devel RHEL 9 | 0:1.5.1-5.el9_0 | [RHSA-2022:7090](https://patchblox.com/security/data/fix/linux/rhsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba-devel almalinux 8 | 1.3.5-8.el8_6 | [ALSA-2022:7089](https://patchblox.com/security/data/fix/linux/alsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba-devel almalinux 9 | 1.5.1-5.el9_0 | [ALSA-2022:7090](https://patchblox.com/security/data/fix/linux/alsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba-devel amzn 2023 | 1.6.3-1.amzn2023.0.2 | [ALAS2023-2023-088](https://patchblox.com/security/data/fix/linux/alas2023-2023-088.md) | Feb 17, 2023 |
| Linux | libksba-devel ol 8 | 0:1.3.5-8.el8_6 | [ELSA-2022-7089](https://patchblox.com/security/data/fix/linux/elsa-2022-7089.md) | Oct 24, 2022 |
| Linux | libksba-devel ol 9 | 0:1.5.1-5.el9_0 | [ELSA-2022-7090](https://patchblox.com/security/data/fix/linux/elsa-2022-7090.md) | Oct 24, 2022 |
| Linux | libksba8 Ubuntu 18.04.6 LTS (bionic) | 1.3.5-2ubuntu0.18.04.1 | [libksba8 1.3.5-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libksba8-1.3.5-2ubuntu0.18.04.1.md) | Oct 16, 2022 |
| Linux | libksba8 Ubuntu 20.04 LTS (focal) | 1.3.5-2ubuntu0.20.04.1 | [libksba8 1.3.5-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libksba8-1.3.5-2ubuntu0.20.04.1.md) | Oct 16, 2022 |
| Linux | libksba8 Ubuntu 22.04.1 LTS (jammy) | 1.6.0-2ubuntu0.1 | [libksba8 1.6.0-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libksba8-1.6.0-2ubuntu0.1.md) | Oct 16, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
