Skip to content
Fencer Intel
critical 9.8

CVE-2022-3515 json

A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser

published 3y ago modified 3mo ago also EUVD-2022-42884 , JLSEC-2025-93

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia GnuPG_jll 2.4.7+0
  • julia Libksba_jll 1.6.7+0
  • gnupg libksba 1.6.3
  • gpg4win gpg4win 4.1.0
  • gnupg vs-desktop 3.1.26
  • gnupg gnupg 2.2.41, 2.4.0
  • libksba Debian 14, Debian 13, Debian 12 1.6.2-1

debian advisories DEBIAN-CVE-2022-3515

  • libksba Ubuntu 18.04 LTS 1.3.5-2ubuntu0.18.04.1
  • libksba Ubuntu 20.04 LTS 1.3.5-2ubuntu0.20.04.1
  • libksba Ubuntu 22.04 LTS 1.6.0-2ubuntu0.1
  • libksba Ubuntu Pro 14.04 LTS 1.3.0-3ubuntu0.14.04.2+esm1
  • libksba Ubuntu Pro 16.04 LTS 1.3.3-1ubuntu0.16.04.1+esm1

ubuntu advisories UBUNTU-CVE-2022-3515

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redhat-virtualization-host rhev hypervisor 4.4 4.5.3-202211170828_8.6
  • redhat-virtualization-host-image-update rhev hypervisor 4.4 4.5.3-202211170828_8.6
  • libksba RHEL 8 1.3.5-8.el8_6
  • libksba RHEL 9 1.5.1-5.el9_0
  • libksba RHEL 7 1.3.0-6.el7_9
  • libksba RHEL 8.4 EUS 1.3.5-8.el8_4
  • libksba RHEL 8.2 TUS, RHEL 8.2 E4S, RHEL 8.2 AUS 1.3.5-8.el8_2
  • libksba RHEL 8.1 E4S 1.3.5-8.el8_1

red hat advisories RHSA-2022:8598RHSA-2022:7927RHSA-2022:7089RHSA-2022:7283RHSA-2022:7090RHSA-2022:7088

  • libksba SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +24 more 1.3.5-150000.4.3.1
  • libksba SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 1.3.0-24.3.1

suse advisories SUSE-SU-2022:3683-1SUSE-SU-2022:3681-1

  • libksba openSUSE Tumbleweed 1.6.2-1.1

opensuse advisories openSUSE-SU-2024:12418-1

  • libksba AlmaLinux 8 1.3.5-8.el8_6
  • libksba AlmaLinux 9 1.5.1-5.el9_0

almalinux advisories ALSA-2022:7089ALSA-2022:7090

  • libksba Rocky Linux 9 1.5.1-5.el9_0
  • libksba Rocky Linux 8 1.3.5-8.el8_6

rocky linux advisories RLSA-2022:7090RLSA-2022:7089

  • libksba Alpine 3.14 1.5.1-r1
  • libksba Alpine 3.16, Alpine 3.15 1.6.3-r0
  • libksba Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.6.2-r0

alpine advisories ALPINE-CVE-2022-3515

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gnupg2 CBL-Mariner 2.0 2.4.0-1

azure linux advisories AZL-13005

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • libksba Arch Linux 1.6.3-1

arch linux advisories AVG-2804

Is CVE-2022-3515 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3515 updated cvss 8.6

libksba: integer overflow may lead to remote code execution

  • Red Hat Enterprise Linux 6 libksba
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 9) libksba-devel 1.5.1-5.el9_0, libksba-debuginfo 1.5.1-5.el9_0, libksba-debugsource 1.5.1-5.el9_0
    fixed: vendor fix RHSA-2022:7090
  • Red Hat Enterprise Linux BaseOS (v. 8) libksba 1.3.5-8.el8_6
    fixed: vendor fix RHSA-2022:7089
  • Red Hat Enterprise Linux BaseOS (v. 9) libksba 1.5.1-5.el9_0
    fixed: vendor fix RHSA-2022:7090
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) libksba 1.3.5-8.el8_2
    fixed: vendor fix RHSA-2022:7283
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.1) libksba 1.3.5-8.el8_1
    fixed: vendor fix RHSA-2022:7209
  • Red Hat Enterprise Linux BaseOS E4S (v. 8.2) libksba 1.3.5-8.el8_2
    fixed: vendor fix RHSA-2022:7283
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) libksba 1.3.5-8.el8_4
    fixed: vendor fix RHSA-2022:7927
show 7 more
  • Red Hat Enterprise Linux BaseOS TUS (v. 8.2) libksba 1.3.5-8.el8_2
    fixed: vendor fix RHSA-2022:7283
  • Red Hat Enterprise Linux Client Optional (v. 7) libksba 1.3.0-6.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libksba 1.3.0-6.el7_9
    fixed: vendor fix RHSA-2022:7088
  • Red Hat Enterprise Linux CRB (v. 8) libksba-devel 1.3.5-8.el8_6, libksba-debuginfo 1.3.5-8.el8_6, libksba-debugsource 1.3.5-8.el8_6
    fixed: vendor fix RHSA-2022:7089
  • Red Hat Enterprise Linux CRB EUS (v.8.4) libksba-devel 1.3.5-8.el8_4, libksba-debuginfo 1.3.5-8.el8_4, libksba-debugsource 1.3.5-8.el8_4
    fixed: vendor fix RHSA-2022:7927
  • Red Hat Enterprise Linux Server Optional (v. 7) libksba 1.3.0-6.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) libksba 1.3.0-6.el7_9
    fixed: vendor fix RHSA-2022:7088
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host 4.5.3-202211170828_8.6, redhat-virtualization-host-image-update 4.5.3-202211170828_8.6
    fixed: vendor fix RHSA-2022:8598
  • Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.5.3-1.el8ev, redhat-virtualization-host-productimg 4.5.3-1.el8, redhat-release-virtualization-host-content 4.5.3-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.5.3-1.el8ev
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-102-04 updated cvss 9.8

Siemens RUGGEDCOM APE1808

  • Siemens RUGGEDCOM APE1808
    affected: vendor fix

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 9.8

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
last yr.

Exploit prediction

1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • dev.gnupg.org https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b referenced PoC, tagged "exploit" by a source, unverified
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2135610 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia GnuPG_jll
<2.4.7+0
2.4.7+0
julia Libksba_jll
<1.6.7+0
1.6.7+0

Affected products

  • n/a libksba

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.