cve.bz

CVE-2017-9048 xmlsoft libxml2

7.5 highExploit referenceEPSS 4.8%Fix available

High (7.5) in xmlsoft libxml2. EPSS 4.8% estimated probability of exploitation activity in the next 30 days.

On this page
libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 < size. This vulnerability causes programs that use libxml2, such as PHP, to crash.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: none · Automatable: yes · Technical impact: partial, assessed 2025-12-18. 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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-2017-9048 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-9048?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-9048?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-2017-9048 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-2017-9048

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

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml22.9.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7libxml22.8.0+dfsg1-7+wheezy8DLA-1008-1
Debian8libxml22.9.1+dfsg1-5+deb8u5DSA-3952-1
Debian9libxml22.9.4+dfsg1-2.2+deb9u1DSA-3952-1
Debian12, 13, 14libxml22.9.4+dfsg1-3.1DEBIAN-CVE-2017-9048
Ubuntu14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.10UBUNTU-CVE-2017-9048 USN-3424-1
Ubuntu16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.3UBUNTU-CVE-2017-9048 USN-3424-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morelibxml2, python-libxml22.9.4-36.1SUSE-SU-2017:1454-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morelibxml2, python-libxml22.9.4-39.2SUSE-SU-2017:1538-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 2 morelibxml2-python2.7.6-0.69.3SUSE-SU-2017:1557-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 morelibxml22.7.6-0.69.1SUSE-SU-2017:1557-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 and 1 morelibxml2, python-libxml22.9.1-26.15.1SUSE-SU-2017:1587-1
SUSELinux Enterprise Software Development Kit 12 SP2libxml22.9.4-36.1SUSE-SU-2017:1454-1
SUSELinux Enterprise Software Development Kit 12 SP2libxml22.9.4-39.2SUSE-SU-2017:1538-1
openSUSETumbleweedlibxml22.9.12-1.2openSUSE-SU-2024:11016-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability exists in the DTD validation functionality of libxml2. Applications that do not attempt to validate untrusted documents are not impacted.

ProductPackageStateAdvisory
Red Hat JBoss Core ServicesFixed 2018-08-16RHSA-2018:2486
Red Hat Enterprise Linux 5libxml2Will not fix
Red Hat Enterprise Linux 6libxml2Will not fix
Red Hat Enterprise Linux 7libxml2Will not fix
Red Hat Enterprise Linux 8libxml2Not affected
Red Hat Enterprise Linux 8mingw-libxml2Affected
Red Hat JBoss Core Serviceslibxml2Affected
Red Hat JBoss Enterprise Web Server 3libxml2Will 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-2017-9048.

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)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON