ZendXml and Zend Framework contain XXE and XEE Vulnerabilities
The 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, when running under PHP-FPM in a threaded environment, allows remote attackers to bypass security checks and conduct XML external entity (XXE) and XML entity expansion (XEE) attacks via multibyte encoded characters.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | zendframework/zendframework | >= 2.0.0, < 2.4.6, >= 2.5.0, < 2.5.2, >= 1.12.0, < 1.12.14 | 2.4.6, 2.5.2, 1.12.14 |
| Composer package | zendframework/zendframework1 | >= 1.12.0, < 1.12.14 | 1.12.14 |
| Composer package | zendframework/zendxml | >= 1.0.0, < 1.0.1 | 1.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5161
- https://github.com/zendframework/zf1/issues/393
- https://github.com/zendframework/ZendXml/commit/79f478fa2af85ce1fc18ac132dee5aa714c3b532
- https://github.com/zendframework/zf1/commit/ff7edddf1410b44b5ead857c02698aad9f748d1b
- https://framework.zend.com/security/advisory/ZF2015-06
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2015-5161.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2015-5161.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendxml/CVE-2015-5161.yaml
- https://web.archive.org/web/20200228055156/http://www.securityfocus.com/bid/76177
- https://www.exploit-db.com/exploits/37765
- http://framework.zend.com/security/advisory/ZF2015-06
- http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164409.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165147.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165173.html
- http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html
- http://seclists.org/fulldisclosure/2015/Aug/46
- http://www.debian.org/security/2015/dsa-3340
- http://www.securityfocus.com/bid/76177
- Weakness (CWE)
CWE-611, CWE-776- Platform
- Composer
- Package
zendframework/zendframework, zendframework/zendframework1, zendframework/zendxml- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xp8p-9rq5-4wgv - CC BY 4.0
Vulnerability history: zendframework/zendxml
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.