Skip to main content
Public proof of conceptFix available

CVE-2022-3515

A public proof of concept exists; no exploitation attested.

  • Published2023-01-12
  • Fixed in2.4.0 · 2.2.41
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-01-1215:15CVE publishedNVD

Versions per branch

NVD
Gnupg
BranchAffectedFixed in
2.x≥ 2.3.0, < 2.4.02.4.0
2.x≥ 2.1.0, < 2.2.412.2.41
Gnupg libksba
BranchAffectedFixed in
1.6< 1.6.31.6.3
Gnupg vs-desktop
BranchAffectedFixed in
3.1≥ 3.1.16, < 3.1.263.1.26

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • libksba
    Affected
    • = Fixed in libksba v1.6.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-07-06

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gnupg2Azure Linux:2all versions · fixed in 2.4.0-1
  • libksbaWolfiall versions · fixed in 0
  • libksbaUbuntu:Pro:16.04:LTSall versions · fixed in 1.3.3-1ubuntu0.16.04.1+esm1
  • libksbaUbuntu:Pro:14.04:LTSall versions · fixed in 1.3.0-3ubuntu0.14.04.2+esm1
  • libksbaUbuntu:22.04:LTSall versions · fixed in 1.6.0-2ubuntu0.1
  • libksbaUbuntu:20.04:LTSall versions · fixed in 1.3.5-2ubuntu0.20.04.1
  • libksbaUbuntu:18.04:LTSall versions · fixed in 1.3.5-2ubuntu0.18.04.1
  • libksbaTuxCare:OracleLinux:6all versions · fixed in 1.0.7-4.el6.tuxcare.els1and 1 other package

82 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-3515 Red Hat Product Security172 products fixed · 2 known affected

    libksba: integer overflow may lead to remote code execution

    libksba-devel as a component of Red Hat Enterprise Linux 6 · libksba.src as a component of Red Hat Enterprise Linux 6

  • ICSA-24-102-04 CISA1 known affected

    Siemens RUGGEDCOM APE1808

    RUGGEDCOM APE1808

  • SSA-455250 Siemens ProductCERT1 known affected

    SSA-455250: Multiple Vulnerabilities in Palo Alto Networks Virtual NGFW on RUGGEDCOM APE1808 Devices Before V11.1.2-h3

    RUGGEDCOM APE1808

  • ICSA-24-046-11 CISA11 known affected

    Siemens SCALANCE XCM-/XRM-300

    SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more

  • SSA-806742 Siemens ProductCERT11 known affected

    SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4

    SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more

  • RHSA-2022:8598 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.5.3-1]

6 more advisories

Full record on NVD

Fix

  1. Update Gnupg to 2.4.0 · 2.2.41
  2. Vendor fix Siemens ProductCERT SSA-455250 · 1 productUpgrade Palo Alto Networks Virtual NGFW V11.1.2-h3. Contact customer support to receive patch and update information
  3. Vendor fix CISA ICSA-24-102-04 · 1 productUpgrade Palo Alto Networks Virtual NGFW V11.1.2-h3. Contact customer support to receive patch and update information
  4. Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
  5. Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
  6. Vendor fix Red Hat Product Security RHSA-2022:8598 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  7. Vendor fix Red Hat Product Security RHSA-2022:7927 · 31 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2023-01-12
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-58wq-p76f-6qjh

Frequently asked questions

What is CVE-2022-3515?

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.

Is CVE-2022-3515 actively exploited?

A proof-of-concept exploit exists for CVE-2022-3515, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-3515?

CVE-2022-3515 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running libksba? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record