CVE-2016-10034
Description
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
38.438%
chance of exploitation in the next 30 days
higher than 98.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 5
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 3
Weakness
- CWE-77: Improper Neutralization of Special Elements used in a Command
Timeline
- 2016-12-30Published by the CNA19:00 UTC
- 2016-12-30First Exploit-DB entry (EDB-ID 40979)same day
- 2022-05-14GitHub advisory published (GHSA-r9mw-gwx9-v3h5)1961 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42221 | webapps | php | 2017-06-21 | no |
| EDB-ID 40986 | webapps | php | 2017-01-02 | no |
| EDB-ID 40979 | webapps | php | 2016-12-30 | no |
GitHub advisory GHSA-r9mw-gwx9-v3h5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist zendframework/zend-mail | before 2.4.11 | 2.4.11 |
| Packagist zendframework/zend-mail | from 2.5 through 2.5.2 | |
| Packagist zendframework/zend-mail | from 2.6 through 2.6.2 | |
| Packagist zendframework/zend-mail | from 2.7 before 2.7.2 | 2.7.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| zend zend-mail | through 2.4.10no fix listed2.5.0no fix listed2.5.1no fix listed2.5.2no fix listed2.6.0no fix listed(+4 more) | not listednot listednot listednot listednot listed |
| zend zend_framework | through 2.4.10no fix listed | not listed |
References
- https://framework.zend.com/security/advisory/ZF2016-04
- https://security.gentoo.org/glsa/201804-10
- https://legalhackers.com/advisories/ZendFramework-Exploit-ZendMail-Remote-Code-Exec-CVE-2016-10034-Vuln.html
- https://www.exploit-db.com/exploits/40979/
- https://www.exploit-db.com/exploits/40986/
- https://www.exploit-db.com/exploits/42221/
- http://www.securityfocus.com/bid/95144
- http://www.securitytracker.com/id/1037539
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-10034'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-10034'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-10034'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-10034'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).