cve.bz

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

9.8 criticalExploit referenceEPSS 4.8%Fix available

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

On this page
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.

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
4.8% (unchanged from 4.8% a week ago; 4.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. 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-23. 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-25315 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25315?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25315?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-25315 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.

Badge for a README or a site

CVE-2022-25315

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-25315](https://cve.bz/cve/badge/CVE-2022-25315.svg)](https://cve.bz/cve/CVE-2022-25315)

HTML:

<a href="https://cve.bz/cve/CVE-2022-25315"><img src="https://cve.bz/cve/badge/CVE-2022-25315.svg" alt="CVE-2022-25315"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatbefore 2.4.5
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora34
fedoraproject:fedora35
oracle:http_server12.2.1.3.0
oracle:http_server12.2.1.4.0
oracle:zfs_storage_appliance_kit8.8
siemens:sinema_remote_connect_serverbefore 3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9expat2.2.0-2+deb9u5DLA-2935-1
Debian10expat2.2.6-2+deb10u3DSA-5085-1
Debian11expat2.2.10-2+deb11u2DSA-5085-1
Debian12libxmltokno fix listedDEBIAN-CVE-2022-25315
Debian12, 13, 14expat2.4.5-1DEBIAN-CVE-2022-25315
Ubuntu16.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2022-25315
Ubuntu18.04:LTSexpat2.2.5-3ubuntu0.7UBUNTU-CVE-2022-25315 USN-5320-1
Ubuntu18.04:LTStdom, vnc4, wbxml2 and 2 moreno fix listedUBUNTU-CVE-2022-25315
Ubuntu20.04:LTSexpat2.2.9-1ubuntu0.4UBUNTU-CVE-2022-25315 USN-5320-1
Ubuntu20.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2022-25315
Ubuntu22.04:LTSfirefox1:1snap1-0ubuntu1UBUNTU-CVE-2022-25315
Ubuntu22.04:LTS, 24.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2022-25315
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 4 moreno fix listedUBUNTU-CVE-2022-25315
Ubuntu26.04:LTStdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2022-25315
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm6UBUNTU-CVE-2022-25315 USN-5320-1
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2022-25315
UbuntuPro:16.04:LTSexpat2.1.0-7ubuntu0.16.04.5+esm5UBUNTU-CVE-2022-25315 USN-5320-1
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationexpat, expat-devel, expat-static and 1 more0:2.1.0-14.el7_9RHSA-2022:1069
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfirefox, firefox-debuginfo0:91.7.0-3.el7_9RHSA-2022:0824
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationthunderbird, thunderbird-debuginfo0:91.7.0-2.el7_9RHSA-2022:0850
Red Hatenterprise_linux:7::computenodeexpat-devel, expat-static, expat-debuginfo0:2.1.0-14.el7_9RHSA-2022:1069
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.22-20220330.1.el7_9RHSA-2022:1263
Red Hatenterprise_linux:8::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:91.7.0-3.el8_5RHSA-2022:0818
Red Hatenterprise_linux:8::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:91.7.0-2.el8_5RHSA-2022:0845
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-4.el8_5.3RHSA-2022:0951
Red Hatenterprise_linux:8::crbmingw-expat, mingw32-expat, mingw64-expat and 2 more0:2.4.8-1.el8RHSA-2022:7811
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.2.10-12.el9_0RHBA-2022:4046
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.2.10-12.el9_0RHBA-2022:4046
Red Hatrhel_e4s:8.1::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:91.7.0-3.el8_1RHSA-2022:0815
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 20 moreexpat2.2.5-3.15.1SUSE-SU-2022:0713-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreexpat2.1.0-21.18.1SUSE-SU-2022:0698-1
SUSELinux Enterprise Module for Basesystem 15 SP4expat2.4.4-150400.3.6.9SUSE-SU-2022:2294-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSexpat2.0.1-88.42.18.1SUSE-SU-2022:14903-1
openSUSELeap 15.3expat2.2.5-3.15.1openSUSE-SU-2022:0713-1
openSUSELeap 15.4expat2.4.4-150400.3.6.9SUSE-SU-2022:2294-1
openSUSETumbleweedexpat2.4.6-1.1openSUSE-SU-2024:11866-1
AlmaLinux8expat, expat-devel2.2.5-8.el8_6.2ALSA-2022:0951
AlmaLinux8firefox91.7.0-3.el8_5.almaALSA-2022:0818
AlmaLinux8mingw32-expat, mingw64-expat2.4.8-1.el8ALSA-2022:7811
AlmaLinux8thunderbird91.7.0-2.el8_5.almaALSA-2022:0845
AlmaLinux8thunderbird91.7.0-2.el8_5.alma.plusALSA-2022:0845
Rocky Linux8expat0:2.2.5-4.el8_5.3RLSA-2022:0951
Rocky Linux8firefox0:91.7.0-3.el8_5RLSA-2022:0818
Rocky Linux8thunderbird0:91.7.0-2.el8_5RLSA-2022:0845
Alpinev3.12expat2.2.10-r2ALPINE-CVE-2022-25315
Alpinev3.13expat2.2.10-r4ALPINE-CVE-2022-25315
Alpinev3.14, v3.15, v3.16 and 8 moreexpat2.4.5-r0ALPINE-CVE-2022-25315
Azure Linux2expat2.4.8-1AZL-8625

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.

Red Hat's statement

This flaw affects applications that leverage expat to parse untrusted XML files. Applications that only parse trusted XML files or do not process XML files at all are not affected by this flaw.

Red Hat's mitigation

There is no known mitigation other than restricting applications using the expat library from processing untrusted XML content. Please update the affected packages as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportexpat-0:2.0.1-14.el6_10Fixed 2022-04-12RHSA-2022:1309
Red Hat Enterprise Linux 7firefox-0:91.7.0-3.el7_9Fixed 2022-03-10RHSA-2022:0824
Red Hat Enterprise Linux 7thunderbird-0:91.7.0-2.el7_9Fixed 2022-03-14RHSA-2022:0850
Red Hat Enterprise Linux 7expat-0:2.1.0-14.el7_9Fixed 2022-03-28RHSA-2022:1069
Red Hat Enterprise Linux 8firefox-0:91.7.0-3.el8_5Fixed 2022-03-10RHSA-2022:0818
Red Hat Enterprise Linux 8thunderbird-0:91.7.0-2.el8_5Fixed 2022-03-14RHSA-2022:0845
Red Hat Enterprise Linux 8mingw-expat-0:2.4.8-1.el8Fixed 2022-11-08RHSA-2022:7811
Red Hat Enterprise Linux 8expat-0:2.2.5-4.el8_5.3Fixed 2022-03-16RHSA-2022:0951
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsfirefox-0:91.7.0-3.el8_1Fixed 2022-03-10RHSA-2022:0815
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsthunderbird-0:91.7.0-2.el8_1Fixed 2022-03-14RHSA-2022:0847
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsexpat-0:2.2.5-3.el8_1.1Fixed 2022-03-28RHSA-2022:1068
Red Hat Enterprise Linux 8.2 Extended Update Supportfirefox-0:91.7.0-3.el8_2Fixed 2022-03-10RHSA-2022:0816
Red Hat Enterprise Linux 8.2 Extended Update Supportthunderbird-0:91.7.0-2.el8_2Fixed 2022-03-14RHSA-2022:0843
Red Hat Enterprise Linux 8.2 Extended Update Supportexpat-0:2.2.5-3.el8_2.2Fixed 2022-03-28RHSA-2022:1070
Red Hat Enterprise Linux 8.4 Extended Update Supportfirefox-0:91.7.0-3.el8_4Fixed 2022-03-10RHSA-2022:0817
Red Hat Enterprise Linux 8firefox:flatpak/firefoxAffected
Red Hat Enterprise Linux 8xmlrpc-cNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
Red Hat Enterprise Linux 9xmlrpc-cNot affected
6 more in the JSON and on Red Hat's page.

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-278-01Hitachi Energy AFS65x,AFF66x, AFS67x, and AFR67x Series Products2023-10-05EnergyAFF66X FW: <= 03.0.02, AFS66X-S: vers:all/*, AFS660-C: vers:all/* and 5 morenone listed
ICSA-22-167-17Siemens OpenSSL Affecting Industrial Products2022-06-14Critical Manufacturing, Commercial Facilities, Energy, Food and Agriculture, Healthcare and Public Health, Transportation Systems, Water and Wastewater SystemsSINEMA Remote Connect Servernone 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