cve.bz

CVE-2022-3515 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalExploit referenceEPSS 1.8%Fix available

Critical (9.8). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-04-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3515 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3515?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3515?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3515 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnupg:libksbabefore 1.6.3
gpg4win:gpg4winfrom 2.0.0 before 4.1.0
gnupg:vs-desktopfrom 3.1.16 before 3.1.26
gnupg:gnupgfrom 2.1.0 before 2.2.41
gnupg:gnupgfrom 2.3.0 before 2.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libksba1.3.5-2+deb10u1DLA-3153-1
Debian11libksba1.5.0-3+deb11u1DSA-5255-1
Debian12, 13, 14libksba1.6.2-1DEBIAN-CVE-2022-3515
Ubuntu18.04:LTSlibksba1.3.5-2ubuntu0.18.04.1UBUNTU-CVE-2022-3515 USN-5688-1
Ubuntu20.04:LTSlibksba1.3.5-2ubuntu0.20.04.1UBUNTU-CVE-2022-3515 USN-5688-1
Ubuntu22.04:LTSlibksba1.6.0-2ubuntu0.1UBUNTU-CVE-2022-3515 USN-5688-1
UbuntuPro:14.04:LTSlibksba1.3.0-3ubuntu0.14.04.2+esm1UBUNTU-CVE-2022-3515 USN-5688-1
UbuntuPro:16.04:LTSlibksba1.3.3-1ubuntu0.16.04.1+esm1UBUNTU-CVE-2022-3515 USN-5688-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibksba, libksba-devel, libksba-debuginfo0:1.3.0-6.el7_9RHSA-2022:7088
Red Hatenterprise_linux:8::baseoslibksba, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_6RHSA-2022:7089
Red Hatenterprise_linux:8::crblibksba-devel, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_6RHSA-2022:7089
Red Hatenterprise_linux:9::baseoslibksba, libksba-debuginfo, libksba-debugsource0:1.5.1-5.el9_0RHSA-2022:7090
Red Hatenterprise_linux:9::crblibksba-devel, libksba-debuginfo, libksba-debugsource0:1.5.1-5.el9_0RHSA-2022:7090
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseoslibksba, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_2RHSA-2022:7283
Red Hatrhel_e4s:8.1::baseoslibksba, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_1RHSA-2022:7209
Red Hatrhel_eus:8.4::baseoslibksba, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_4RHSA-2022:7927
Red Hatrhel_eus:8.4::crblibksba-devel, libksba-debuginfo, libksba-debugsource0:1.3.5-8.el8_4RHSA-2022:7927
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.5.3-202211170828_8.6RHSA-2022:8598
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 21 morelibksba1.3.5-150000.4.3.1SUSE-SU-2022:3683-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 morelibksba1.3.0-24.3.1SUSE-SU-2022:3681-1
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2libksba1.3.5-150000.4.3.1SUSE-SU-2022:3683-1
openSUSETumbleweedlibksba1.6.2-1.1openSUSE-SU-2024:12418-1
AlmaLinux8libksba, libksba-devel1.3.5-8.el8_6ALSA-2022:7089
AlmaLinux9libksba, libksba-devel1.5.1-5.el9_0ALSA-2022:7090
Rocky Linux8libksba0:1.3.5-8.el8_6RLSA-2022:7089
Rocky Linux9libksba0:1.5.1-5.el9_0RLSA-2022:7090
Alpinev3.14libksba1.5.1-r1ALPINE-CVE-2022-3515
Alpinev3.15, v3.16libksba1.6.3-r0ALPINE-CVE-2022-3515
Alpinev3.17, v3.18, v3.19 and 5 morelibksba1.6.2-r0ALPINE-CVE-2022-3515
Azure Linux2gnupg22.4.0-1AZL-13005

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libksba-0:1.3.0-6.el7_9Fixed 2022-10-24RHSA-2022:7088
Red Hat Enterprise Linux 8libksba-0:1.3.5-8.el8_6Fixed 2022-10-24RHSA-2022:7089
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionslibksba-0:1.3.5-8.el8_1Fixed 2022-10-26RHSA-2022:7209
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibksba-0:1.3.5-8.el8_2Fixed 2022-11-01RHSA-2022:7283
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicelibksba-0:1.3.5-8.el8_2Fixed 2022-11-01RHSA-2022:7283
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionslibksba-0:1.3.5-8.el8_2Fixed 2022-11-01RHSA-2022:7283
Red Hat Enterprise Linux 8.4 Extended Update Supportlibksba-0:1.3.5-8.el8_4Fixed 2022-11-14RHSA-2022:7927
Red Hat Enterprise Linux 9libksba-0:1.5.1-5.el9_0Fixed 2022-10-24RHSA-2022:7090
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.5.3-202211170828_8.6Fixed 2022-11-22RHSA-2022:8598
Red Hat Enterprise Linux 6libksbaOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3515.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-102-04Siemens RUGGEDCOM APE18082024-04-09Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM APE1808none listed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON