Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2015-5161

MEDIUM 6.8PoCEPSS 96%

ZendXml and Zend Framework contain XXE and XEE Vulnerabilities

Also known as EDB-37765, EDB-38573, GHSA-xp8p-9rq5-4wgv

Mitigation

  • Upgrade zendframework/zendframework to one of 2.4.6, 2.5.2, 1.12.14 (or later in the same release line).
  • Upgrade zendframework/zendframework1 to 1.12.14 or later.
  • Upgrade zendframework/zendxml to 1.0.1 or later.

Who should check

  • Projects that depend on Packagist package zendframework/zendframework (>= 2.0.0, < 2.4.6)
  • Projects that depend on Packagist package zendframework/zendframework1 (>= 1.12.0, < 1.12.14)
  • Projects that depend on Packagist package zendframework/zendxml (>= 1.0.0, < 1.0.1)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
zendframework/zendframework >= 2.0.0, < 2.4.6; zendframework/zendframework1 >= 1.12.0, < 1.12.14; zendframework/zendxml >= 1.0.0, < 1.0.1
Fixed in
2.4.6, 2.5.2, 1.12.14, 1.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
6.8 (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:P/A:P
Show all 6 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Medium
  • Authentication: None
  • Confidentiality impact: Partial
  • Integrity impact: Partial
  • Availability impact: Partial
EPSS
9.87% chance of exploitation in 30 days (percentile 96, 2026-11-26)
CWE
CWE-611, CWE-776
Published
Modified

Description

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 and fixed versions

Package / productAffectedFixedSource
Packagist zendframework/zendframework>= 2.0.0, < 2.4.62.4.6, 2.5.2, 1.12.14osv
Packagist zendframework/zendframework1>= 1.12.0, < 1.12.141.12.14osv
Packagist zendframework/zendxml>= 1.0.0, < 1.0.11.0.1osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2015-5161. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-5161.md
Affected: zendframework/zendframework >= 2.0.0, < 2.4.6; zendframework/zendframework1 >= 1.12.0, < 1.12.14; zendframework/zendxml >= 1.0.0, < 1.0.1
Fixed in: 2.4.6, 2.5.2, 1.12.14, 1.0.1

Steps:
1. Search this machine and project for zendframework/zendframework (Packagist), zendframework/zendframework1 (Packagist), zendframework/zendxml (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2015-5161 being exploited?

There is no confirmed exploitation: CVE-2015-5161 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 9.87% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2015-5161?

Medium: CVSS 6.8 (v2.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2015-5161?

zendframework/zendframework >= 2.0.0, < 2.4.6; zendframework/zendframework1 >= 1.12.0, < 1.12.14; zendframework/zendxml >= 1.0.0, < 1.0.1.

Is there a fix for CVE-2015-5161?

Yes. Fixed in 2.4.6, 2.5.2, 1.12.14, 1.0.1. Upgrade zendframework/zendframework to one of 2.4.6, 2.5.2, 1.12.14 (or later in the same release line). Upgrade zendframework/zendframework1 to 1.12.14 or later. Upgrade zendframework/zendxml to 1.0.1 or later.

How do I check if I'm affected by CVE-2015-5161?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors