Skip to content
Fencer Intel
critical 9.8

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 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-40979)
  2. 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

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.