Vulnerabilities / CVE-2015-8866

critical

CVE-2015-8866

php: libxml_disable_entity_loader setting is shared between threads

Published Modified CWE 611
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Red Hat3.7CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium), Red Hat (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 7php55.4.45-0+deb7u3
Red Hatphp, php-bcmath, php-cli and 25 moreno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.22
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.16
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.16
Show all 32 entries from 5 sources
SourcePackageFixed in
debian 7php55.4.45-0+deb7u3
Red Hatphpno fix listed
Red Hatphp-bcmathno fix listed
Red Hatphp-clino fix listed
Red Hatphp-commonno fix listed
Red Hatphp-dbano fix listed
Red Hatphp-develno fix listed
Red Hatphp-embeddedno fix listed
Red Hatphp-enchantno fix listed
Red Hatphp-fpmno fix listed
Red Hatphp-gdno fix listed
Red Hatphp-imapno fix listed
Red Hatphp-intlno fix listed
Red Hatphp-ldapno fix listed
Red Hatphp-mbstringno fix listed
Red Hatphp-mysqlno fix listed
Red Hatphp-mysqlndno fix listed
Red Hatphp-odbcno fix listed
Red Hatphp-pdono fix listed
Red Hatphp-pgsqlno fix listed
Red Hatphp-processno fix listed
Red Hatphp-pspellno fix listed
Red Hatphp-recodeno fix listed
Red Hatphp-snmpno fix listed
Red Hatphp-soapno fix listed
Red Hatphp-tidyno fix listed
Red Hatphp-xmlno fix listed
Red Hatphp-xmlrpcno fix listed
Red Hatphp-ztsno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.22
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.16
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.16

References

All 18 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.