CVE-2016-10034 in the critical feed json
zend-mail remote code execution via Sendmail adapter
published 2016-12-30 9 y ago modified 2026-06-17 4 mo ago also GHSA-r9mw-gwx9-v3h5 , EUVD-2022-5138
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 38.4%
- EPSS 38.4% chance of exploitation in 30 days, percentile 98%
- public exploits
- 3
- Exploit-DB
Summary
The setFrom function in the Sendmail adapter in the zend-mail component before 2.4.11, 2.5.x, 2.6.x, and 2.7.x before 2.7.2, and Zend Framework before 2.4.11 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted e-mail address.
Patch / fix
- packagist zendframework/zend-mail 2.4.11, 2.7.2
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-2016-10034 updated cvss 9.8
php-zendframework: Parameter injection in setFrom() function
-
Red Hat All currently supported Red Hat productsnot 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
- First public exploit (EDB-40979)
- Published
Exploit prediction
38.44% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-42221 PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution webapps, 2017-06-21
- EDB-40986 PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution webapps, 2017-01-02
- EDB-40979 Zend Framework / zend-mail < 2.4.11 - Remote Code Execution webapps, 2016-12-30
- framework.zend.com https://framework.zend.com/security/advisory/ZF2016-04 referenced PoC, tagged "exploit" by a source, unverified
- legalhackers.com https://legalhackers.com/advisories/ZendFramework-Exploit-ZendMail-Remote-Code-Exec-CVE-2016-10034-Vuln.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | zendframework/zend-mail | <2.4.11 >=2.5, <=2.5.2 >=2.6, <=2.6.2 >=2.7, <2.7.2 |
2.4.11 2.7.2 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
exploit-db.com
/exploits/42221/
exploit
-
exploit-db.com
/exploits/40979/
exploit
-
exploit-db.com
/exploits/40986/
exploit
-
framework.zend.com
/security/advisory/ZF2016-04
web, exploit, technical-description, vendor-advisory
-
legalhackers.com
/advisories/ZendFramework-Exploit-ZendMail-Remote-Code-Exec-CVE-2016-10034-Vuln.html
web, exploit, technical-description, third-party-advisory
-
security.gentoo.org
/glsa/201804-10
vendor-advisory, web
-
securitytracker.com
/id/1037539
vdb-entry, web
-
securityfocus.com
/bid/95144
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-10034
advisory
-
github.com
/zendframework/zend-mail
package
-
exploit-db.com
/exploits/40979
web
-
exploit-db.com
/exploits/40986
web
-
exploit-db.com
/exploits/42221
web
Sources
- CVE List CVE-2016-10034
- GitHub Advisory GHSA-r9mw-gwx9-v3h5
- NVD CVE-2016-10034
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.