cve.bz

CVE-2018-9251 Infinite Loop

5.3 mediumExploit referenceEPSS 2.4%

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

On this page
The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
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-2018-9251 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-9251?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-9251?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-2018-9251 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
xmlsoft:libxml22.9.8
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-7.el8RHSA-2020:1827
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-7.el8RHSA-2020:1827
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3libxml2, python-libxml22.9.4-46.15.1SUSE-SU-2018:3081-1
SUSELinux Enterprise Module for Basesystem 15libxml2, python-libxml2-python2.9.7-3.3.1SUSE-SU-2018:3080-1
SUSELinux Enterprise Software Development Kit 12 SP3libxml22.9.4-46.15.1SUSE-SU-2018:3081-1
openSUSETumbleweedlibxml22.9.12-1.2openSUSE-SU-2024:11016-1
Alpinev3.5, v3.6, v3.7 and 17 morelibxml22.9.8-r1ALPINE-CVE-2018-9251

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of libxml2 as shipped with Red Hat Enterprise Linux 5, 6, and 7.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libxml2-0:2.9.7-7.el8Fixed 2020-04-28RHSA-2020:1827
Red Hat Enterprise Linux 5libxml2Not affected
Red Hat Enterprise Linux 6libxml2Not affected
Red Hat Enterprise Linux 7libxml2Not affected
Red Hat JBoss Core Serviceslibxml2Not affected
Red Hat JBoss Web Server 3libxml2Not affected

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-2018-9251.

References

Check your stackJSON