CVE-2022-3515: gnupg Integer Overflow or Wraparound
Vulnerability summary
CVE-2022-3515 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in gnupg. EPSS estimates a 1.65% chance of exploitation in the next 30 days, higher than 76.1% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 12-01-2023PublishedVulnerability first disclosed.
- 08-04-2025Last modifiedVulnerability information updated.
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 metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.65%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
0.00 pp
From 1.65% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Exploit Reference (dev.gnupg.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse33 products
- libksba&distro=SUSE Enterprise Storage 6< 1.3.5-150000.4.3.1
- libksba&distro=SUSE Enterprise Storage 7< 1.3.5-150000.4.3.1
- libksba&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 1.3.5-150000.4.3.1
- libksba&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 1.3.5-150000.4.3.1
- libksba&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 1.3.5-150000.4.3.1
Opensuse4 products
- libksba&distro=openSUSE Leap 15.3< 1.3.5-150000.4.3.1
- libksba&distro=openSUSE Leap 15.4< 1.3.5-150000.4.3.1
- libksba&distro=openSUSE Leap Micro 5.2< 1.3.5-150000.4.3.1
- libksba&distro=openSUSE Tumbleweed< 1.6.2-1.1
Redhat4 products
- libksba< 0:1.3.0-6.el7_9 | < 0:1.3.5-8.el8_6 | < 0:1.5.1-5.el9_0 | < 0:1.3.5-8.el8_1 | < 0:1.3.5-8.el8_2 | < 0:1.3.5-8.el8_4
- libksba-debuginfo< 0:1.3.0-6.el7_9 | < 0:1.3.5-8.el8_6 | < 0:1.5.1-5.el9_0 | < 0:1.3.5-8.el8_1 | < 0:1.3.5-8.el8_2 | < 0:1.3.5-8.el8_4
- libksba-debugsource< 0:1.3.5-8.el8_6 | < 0:1.5.1-5.el9_0 | < 0:1.3.5-8.el8_1 | < 0:1.3.5-8.el8_2 | < 0:1.3.5-8.el8_4
- libksba-devel< 0:1.3.0-6.el7_9 | < 0:1.3.5-8.el8_6 | < 0:1.5.1-5.el9_0 | < 0:1.3.5-8.el8_4
Gnupg3 products
- gnupg≥ 2.1.0, < 2.2.41 | ≥ 2.3.0, < 2.4.0
- libksba< 1.6.3
- vs-desktop≥ 3.1.16, < 3.1.26
Alpine1 product
- libksba< 1.5.1-r1 | < 1.6.3-r0 | < 1.6.2-r0
Chainguard1 product
- libksbaAll versions (No fix recorded)
Debian1 product
- libksba< 1.5.0-3+deb11u1 | < 1.3.5-2+deb10u1 | < 1.6.2-1
Gpg4win1 product
- gpg4win≥ 2.0.0, < 4.1.0
Mageia1 product
- libksba< 1.5.0-1.1.mga8
Ubuntu1 product
- libksba< 1.3.0-3ubuntu0.14.04.2+esm1 | < 1.3.3-1ubuntu0.16.04.1+esm1 | < 1.3.5-2ubuntu0.18.04.1 | < 1.3.5-2ubuntu0.20.04.1 | < 1.6.0-2ubuntu0.1
Wolfi1 product
- libksbaAll versions (No fix recorded)
11 vendors · 51 products