CVE-2015-5161: XXE/XEE in Zend_Xml_Security::scan (ZendXml, Zend Framework)
- Vendor
- Zend
A vulnerability in Zend_Xml_Security::scan in ZendXml before 1.0.1 and Zend Framework before 1.12.14, 2.x before 2.4.6, and 2.5.x before 2.5.2 allows remote attackers to bypass security checks and perform XML external entity (XXE) and XML entity expansion (XEE) attacks. This occurs when the affected code is running under PHP-FPM in a threaded environment, and the attack leverages multibyte encoded characters to evade security filters.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to bypass XML security checks, potentially leading to disclosure of sensitive files, server-side request forgery (SSRF), denial of service via resource exhaustion, or other impacts associated with XXE/XEE vulnerabilities.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable XML entity loading in PHP, restrict XML input to trusted sources, and consider using alternative XML parsers that are not vulnerable to XXE/XEE. Additionally, avoid running PHP-FPM in threaded environments if possible.
Remediation
Patch, then assume compromise.
Upgrade ZendXml to version 1.0.1 or later, and Zend Framework to version 1.12.14, 2.4.6, or 2.5.2 or later, as appropriate for your deployment. Ensure all dependencies are updated to patched versions.
Exploits
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-5161 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2015-5161 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2015-5161?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2015-5161.
- Is there a patch for CVE-2015-5161?
- Upgrade ZendXml to version 1.0.1 or later, and Zend Framework to version 1.12.14, 2.4.6, or 2.5.2 or later, as appropriate for your deployment. Ensure all dependencies are updated to patched versions.
- What products are affected by CVE-2015-5161?
- Zend Framework.
- How severe is CVE-2015-5161?
- CVE-2015-5161 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 9.9% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.