CVE-2016-9318: libxml2 - XML External Entity Injection
- Cve: CVE-2016-9318
- Name: libxml2 - XML External Entity Injection
- Description: 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.
- Impact: Remote attackers can exploit XXE vulnerabilities to read sensitive files or cause denial of service.
- Remediation: Update libxml2 to the latest version where this issue is fixed.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.02938
- Epss percentile: 0.87455
- Assignee: [email protected]
- Published at: 2016-11-16T00:59:00Z
- Age in days: 3660
- Modified at: 2026-10-14T07:16:38Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-9318
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/lsh123/xmlsec/issues/43 | nvd | 2016-11-16 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.gnome.org/show_bug.cgi?id=772726 | Issue Tracking, Patch, Third Party Advisory, VDB Entry |
| https://github.com/lsh123/xmlsec/issues/43 | Exploit, Patch, Third Party Advisory |
| http://www.securityfocus.com/bid/94347 | Third Party Advisory, VDB Entry |
| https://security.gentoo.org/glsa/201711-01 | Third Party Advisory |
| https://usn.ubuntu.com/3739-1/ | Third Party Advisory |
| https://usn.ubuntu.com/3739-2/ | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html | |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xmlsoft:libxml2 | <= 2.9.4 | yes | nvd | /v1/products/xmlsoft/libxml2 |
| canonical:ubuntu_linux | = 18.04, = 16.04, = 14.04, = 12.04 | no | nvd | /v1/products/canonical/ubuntu_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lsh123/xmlsec | issues | yes | /v1/repositories/lsh123/xmlsec |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-11-16
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports