cve.bz

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

6.5 mediumExploit referenceEPSS 3.8%Fix available

Medium (6.5). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
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-29824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29824?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29824?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-29824 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-29824

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-29824](https://cve.bz/cve/badge/CVE-2022-29824.svg)](https://cve.bz/cve/CVE-2022-29824)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2before 2.9.14
xmlsoft:libxsltthrough 1.1.35
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
oracle:zfs_storage_appliance_kit8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libxml22.9.4+dfsg1-2.2+deb9u7DLA-3012-1
Debian10libxml22.9.4+dfsg1-7+deb10u4DSA-5142-1
Debian11libxml22.9.10+dfsg-6.7+deb11u2DSA-5142-1
Debian12, 13, 14libxml22.9.14+dfsg-1DEBIAN-CVE-2022-29824
Ubuntu18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.6UBUNTU-CVE-2022-29824 USN-5422-1
Ubuntu20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.3UBUNTU-CVE-2022-29824 USN-5422-1
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.1UBUNTU-CVE-2022-29824 USN-5422-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm3UBUNTU-CVE-2022-29824 USN-5422-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm2UBUNTU-CVE-2022-29824 USN-5422-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-13.el8_6.1RHSA-2022:5317
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-13.el8_6.1RHSA-2022:5317
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-1.el9_0.1RHSA-2022:5250
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-1.el9_0.1RHSA-2022:5250
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 morelibxml2, python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 morelibxml2, python-libxml2-python2.9.7-150000.3.57.1SUSE-SU-2023:2048-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morelibxml2, python-libxml22.9.4-46.54.3SUSE-SU-2022:1833-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.57.1SUSE-SU-2023:2048-1
SUSELinux Enterprise Module for Basesystem 15 SP4libxml2, libxml2-python2.9.14-150400.5.7.1SUSE-SU-2022:2552-1
SUSELinux Enterprise Module for Python 2 15 SP3python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
SUSELinux Enterprise Software Development Kit 12 SP5libxml22.9.4-46.54.3SUSE-SU-2022:1833-1
openSUSELeap 15.3libxml2, python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
openSUSELeap 15.4libxml2, libxml2-python2.9.14-150400.5.7.1SUSE-SU-2022:2552-1
openSUSELeap 15.4python-libxml2-python2.9.7-150000.3.46.1SUSE-SU-2022:1750-1
openSUSELeap 15.4python-libxml2-python2.9.7-150000.3.57.1SUSE-SU-2023:2048-1
openSUSETumbleweedlibxml22.9.14-1.1openSUSE-SU-2024:12043-1
openSUSETumbleweedruby3.2-rubygem-nokogiri1.13.9-1.7openSUSE-SU-2024:13165-1
openSUSETumbleweedrubygem-nokogiri1.13.6-1.1openSUSE-SU-2024:12085-1
openSUSETumbleweedrubygem-nokogiri1.15.5-1.5openSUSE-SU-2024:14174-1
openSUSETumbleweedrubygem-nokogiri1.18.2-1.1openSUSE-SU-2025:14697-1
openSUSETumbleweedrubygem-nokogiri1.18.9-1.4openSUSE-SU-2026:10356-1
Rocky Linux8libxml20:2.9.7-13.el8_6.1RLSA-2022:5317
Rocky Linux9libxml20:2.9.13-1.el9_0.1RLSA-2022:5250
Alpinev3.12, v3.13, v3.14 and 10 morelibxml22.9.14-r0ALPINE-CVE-2022-29824
Azure Linux2libxml22.9.14-1AZL-9616
Azure Linux2libxslt1.1.34-7AZL-9617

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; 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 Moderate.

Red Hat's mitigation

Avoid passing large inputs to the libxml2 library.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libxml2-0:2.9.7-13.el8_6.1Fixed 2022-06-30RHSA-2022:5317
Red Hat Enterprise Linux 9libxml2-0:2.9.13-1.el9_0.1Fixed 2022-07-01RHSA-2022:5250
Red Hat JBoss Core Serviceslibxml2Fixed 2022-12-08RHSA-2022:8841
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Will not fix

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

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

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