cve.bz

CVE-2016-9318

5.5 mediumExploit referenceEPSS 2.9%Fix available

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

On this page
libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier and other products, does not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th 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: no · Technical impact: partial, assessed 2025-12-04. 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-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
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-2016-9318 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9318?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9318?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-2016-9318 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-2016-9318

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

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2through 2.9.4
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libxml22.9.4+dfsg1-2.2+deb9u6DLA-2972-1
Debian12, 13, 14libxml22.9.10+dfsg-2DEBIAN-CVE-2016-9318
Ubuntu14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13UBUNTU-CVE-2016-9318 USN-3739-1
Ubuntu16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.6UBUNTU-CVE-2016-9318 USN-3739-1
Ubuntu18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.2UBUNTU-CVE-2016-9318 USN-3739-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1libxml2, python-libxml22.9.1-26.12.1SUSE-SU-2017:1366-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-33.1SUSE-SU-2017:0380-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4libxml2, python-libxml22.9.4-46.20.1SUSE-SU-2019:1896-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 Point of Sale 11 SP3, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4libxml2, libxml2-python2.7.6-0.77.15.1SUSE-SU-2019:13985-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4libxml2-python2.7.6-0.64.4SUSE-SU-2017:0164-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4libxml22.7.6-0.64.1SUSE-SU-2017:0164-1
SUSELinux Enterprise Software Development Kit 11 SP4libxml22.7.6-0.77.15.1SUSE-SU-2019:13985-1
SUSELinux Enterprise Software Development Kit 12 SP1libxml22.9.1-26.12.1SUSE-SU-2017:1366-1
SUSELinux Enterprise Software Development Kit 12 SP2libxml22.9.4-33.1SUSE-SU-2017:0380-1
SUSELinux Enterprise Software Development Kit 12 SP4libxml22.9.4-46.20.1SUSE-SU-2019:1896-1
Alpinev3.2, v3.3, v3.4 and 20 morelibxml22.9.4-r2ALPINE-CVE-2016-9318

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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Application parsing untrusted input with libxml2 should be careful to NOT use entity expansion (enabled by XML_PARSE_NOENT) or DTD validation (XML_PARSE_DTDLOAD, XML_PARSE_DTDVALID) on such input.

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 JBoss Core ServiceshttpdAffected

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-2016-9318.

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-221 Data Serialization External Entities Blowup

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

References

Check your stackJSON