Home / Zend / Zend Framework / CVE-2015-5161
CVE-2015-5161: is it exploited, and which versions of Zend Framework are affected and fixed?
CVE-2015-5161 is a XML external entity (XXE) vulnerability in Zend Framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: zendframework/zendframework from 2.0.0 before 2.4.6, zendframework/zendframework from 2.5.0 before 2.5.2, zendframework/zendframework1 from 1.12.0 before 1.12.14 and 2 more (GitHub advisory GHSA-xp8p-9rq5-4wgv). Fixed in 2.4.6, 2.5.2, 1.12.14 and 1.0.1 (GitHub advisory GHSA-xp8p-9rq5-4wgv). Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-5161?
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.
From the CVE record by redhat, last updated August 6, 2024, 06:41 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | zendframework/zendframework | >= 2.0.0, < 2.4.6 | 2.4.6 | GHSA-xp8p-9rq5-4wgv |
| Packagist | zendframework/zendframework | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-xp8p-9rq5-4wgv |
| Packagist | zendframework/zendframework1 | >= 1.12.0, < 1.12.14 | 1.12.14 | GHSA-xp8p-9rq5-4wgv |
| Packagist | zendframework/zendxml | >= 1.0.0, < 1.0.1 | 1.0.1 | GHSA-xp8p-9rq5-4wgv |
| Packagist | zendframework/zendframework | >= 1.12.0, < 1.12.14 | 1.12.14 | GHSA-xp8p-9rq5-4wgv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 3, 2023. Summary: ZendXml and Zend Framework contain XXE and XEE Vulnerabilities.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zend | zend framework | 1.0.0 | application |
| zend | zend framework | 1.0.1 | application |
| zend | zend framework | 1.0.2 | application |
| zend | zend framework | 1.0.3 | application |
| zend | zend framework | 1.0.4 | application |
| zend | zend framework | 1.5.0 | application |
| zend | zend framework | 1.5.1 | application |
| zend | zend framework | 1.5.2 | application |
| zend | zend framework | 1.5.3 | application |
| zend | zend framework | 1.6.0 | application |
| zend | zend framework | 1.6.1 | application |
| zend | zend framework | 1.6.2 | application |
| zend | zend framework | 1.7.0 | application |
| zend | zend framework | 1.7.1 | application |
| zend | zend framework | 1.7.2 | application |
| zend | zend framework | 1.7.3 | application |
| zend | zend framework | 1.7.4 | application |
| zend | zend framework | 1.7.5 | application |
| zend | zend framework | 1.7.6 | application |
| zend | zend framework | 1.7.7 | application |
| zend | zend framework | 1.7.8 | application |
| zend | zend framework | 1.7.9 | application |
| zend | zend framework | 1.8.0 | application |
| zend | zend framework | 1.8.1 | application |
| zend | zend framework | 1.8.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:28 UTC.
How severe is CVE-2015-5161?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-5161 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.87% probability of exploitation activity in the next 30 days, percentile 95.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
- CWE-776 Improper Restriction of Recursive Entity References in DTDs
Where are the vendor advisories and references?
- http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html x_refsource_MISC
- FEDORA-2015-13488 vendor-advisory, x_refsource_FEDORA
- http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt x_refsource_MISC
- 76177 vdb-entry, x_refsource_BID
- FEDORA-2015-13529 vendor-advisory, x_refsource_FEDORA
- 37765 exploit, x_refsource_EXPLOIT-DB
- FEDORA-2015-13314 vendor-advisory, x_refsource_FEDORA
- DSA-3340 vendor-advisory, x_refsource_DEBIAN
- http://framework.zend.com/security/advisory/ZF2015-06 x_refsource_CONFIRM
- 20150813 Zend Framework <= 2.4.2 XML eXternal Entity Injection (XXE) on PHP FPM mailing-list, x_refsource_FULLDISC
When was it published, and where is the official record?
- Reserved
- July 1, 2015
- Published
- August 25, 2015, 17:00 UTC
- CVE record updated
- August 6, 2024, 06:41 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:28 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Zend Framework?
- Apr 4, 2023CVE-2020-29312 Zend Framework: deserialization of untrusted data disputed
- Jan 4, 2021CVE-2021-3007 Getlaminas Laminas-http: deserialization of untrusted data disputed
- Feb 17, 2020CVE-2014-8089 Zend Framework: SQL injection
- Oct 25, 2019CVE-2015-0270 Zend Framework: SQL injection
- Dec 29, 2017CVE-2014-4914 Zend Framework: SQL injection
- Oct 10, 2017CVE-2015-7503 Zend Framework: key management error
- Aug 7, 2017CVE-2015-1555 Zend Framework: improper input validation
- Jun 8, 2017CVE-2015-1786 Zend Framework: cross-site request forgery (CSRF)
Questions about CVE-2015-5161
Is CVE-2015-5161 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 9.87% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Zend Framework are affected by CVE-2015-5161?
zendframework/zendframework from 2.0.0 before 2.4.6, zendframework/zendframework from 2.5.0 before 2.5.2, zendframework/zendframework1 from 1.12.0 before 1.12.14, zendframework/zendxml from 1.0.0 before 1.0.1 and zendframework/zendframework from 1.12.0 before 1.12.14, per the GitHub advisory GHSA-xp8p-9rq5-4wgv. The tables above give every range the sources list.
Which version fixes CVE-2015-5161?
2.4.6, 2.5.2, 1.12.14 and 1.0.1, per the GitHub advisory GHSA-xp8p-9rq5-4wgv. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-5161?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-5161?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.