Skip to content
Fencer Intel
medium 6.8

CVE-2015-5161 json

ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

published 2015-08-25 11 y ago modified 2026-06-17 4 mo ago also GHSA-xp8p-9rq5-4wgv , EUVD-2022-5834

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.9%
EPSS 9.9% chance of exploitation in 30 days, percentile 95%
public exploits
2
Exploit-DB

Summary

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.

Patch / fix

  • packagist zendframework/zendframework 1.12.14, 2.4.6, 2.5.2
  • packagist zendframework/zendframework1 1.12.14
  • packagist zendframework/zendxml 1.0.1
  • php53 SLES 11 SP2-LTSS 5.3.17-47.1

suse advisories SUSE-SU-2016:1638-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-5161 updated cvss 6.8

php-ZendFramework: XML external entity injection (XXE) on PHP FPM

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-37765)
  2. Published

Exploit prediction

9.87% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-38573 eBay Magento 1.9.2.1 - PHP FPM XML eXternal Entity Injection webapps, 2015-10-30
  • EDB-37765 Zend Framework 2.4.2 - PHP FPM XML eXternal Entity Injection webapps, 2015-08-13
  • packetstormsecurity.com http://packetstormsecurity.com/files/133068/Zend-Framework-2.4.2-1.12.13-XXE-Injection.html referenced PoC, tagged "exploit" by a source, unverified
  • legalhackers.com http://legalhackers.com/advisories/zend-framework-XXE-vuln.txt referenced PoC, tagged "exploit" by a source, unverified
  • securityfocus.com http://www.securityfocus.com/bid/76177 referenced PoC, tagged "exploit" by a source, unverified
  • seclists.org http://seclists.org/fulldisclosure/2015/Aug/46 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
packagist 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
packagist zendframework/zendframework1
>=1.12.0, <1.12.14
1.12.14
packagist zendframework/zendxml
>=1.0.0, <1.0.1
1.0.1

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference
  • CWE-776 Improper Restriction of Recursive Entity References in DTDs

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.