CVE-2015-8866: 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_e…

CVE-2015-8866 affects 8 listed versions of PHP in the Dawnsentry catalogue.

9.6CVSS critical
None knownexploitation
4%EPSS (next 30 days)
22 May 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

8 of 250 listed versions are affected. Fixed in 7.0.27. The newest release, 8.6.0, is not affected.

7.0.26 7.0.25 7.0.24 7.0.23 7.0.22 7.0.21 7.0.20 7.0.19

What it is

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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (NVD)

Published by MITRE on 22 May 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2015-8866 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.