CVE-2015-8866 in Canonical Ubuntu Linux and 5 more products
ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a relat...
Affects 6 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 |
| Opensuse | Opensuse | 13.2 |
| Opensuse | Leap | 42.1 |
| Php | Php | ≥ 5.5.0, < 5.5.22 ≥ 5.6.0, < 5.6.6 ≥ 7.0.0, < 7.0.27 ≥ 7.1.0, < 7.1.13 ≥ 7.2.0, < 7.2.1 |
| Suse | Linux Enterprise Software Development Kit | 12 |
| Suse | Linux Enterprise Module For Web Scripting | 12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a related issue to CVE-2015-5161.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-8866 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-107131-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Published | 2016-05-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-611: CWE-611
Related attack patterns (CAPEC)
CAPEC-221 Data Serialization External Entities Blowup via CWE-611
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2016. A critical vulnerability affects Canonical systems (CVE-2015-8866). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a related issue to CVE-2015-5161. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
Questions
What is CVE-2015-8866?
This vulnerability was disclosed in 2016. A critical vulnerability affects Canonical systems (CVE-2015-8866). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-8866?
CVE-2015-8866 has CVSS 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. EPSS: 4.2%.
Is CVE-2015-8866 actively exploited?
No confirmed active exploitation of CVE-2015-8866 as of 2026-09-25.
How do I remediate CVE-2015-8866?
Priority: MEDIUM. Advisory: http://www.php.net/ChangeLog-5.php PSIRT: [email protected]
What systems are affected by CVE-2015-8866?
CVE-2015-8866 affects Canonical Ubuntu Linux; Opensuse Opensuse, Leap; Php Php; Suse Linux Enterprise Software Development Kit, Linux Enterprise Module For Web Scripting.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.