{"id":"GHSA-r9mw-gwx9-v3h5","aliases":["CVE-2016-10034"],"title":"zend-mail remote code execution via Sendmail adapter","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","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","score":9.8,"published":"2022-05-14T02:19:49.000Z","modified":"2024-04-23T23:26:47.206Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"zendframework/zend-mail","sources":[{"name":"OSV · GHSA-r9mw-gwx9-v3h5","url":"https://osv.dev/vulnerability/GHSA-r9mw-gwx9-v3h5"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.4.11"}],"type":"ECOSYSTEM"}],"versions":["2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.2.0","2.2.0rc1","2.2.0rc2","2.2.0rc3","2.2.1","2.2.10","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0rc1","2.4.0rc2","2.4.0rc3","2.4.0rc4","2.4.0rc5","2.4.0rc6","2.4.0rc7","2.4.1","2.4.10","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9"],"fixed":["2.4.11"]},{"ecosystem":"Packagist","name":"zendframework/zend-mail","sources":[{"name":"OSV · GHSA-r9mw-gwx9-v3h5","url":"https://osv.dev/vulnerability/GHSA-r9mw-gwx9-v3h5"}],"ranges":[{"events":[{"introduced":"2.5"},{"last_affected":"2.5.2"}],"type":"ECOSYSTEM"}],"versions":["2.5.0","2.5.1","2.5.2"],"fixed":[]},{"ecosystem":"Packagist","name":"zendframework/zend-mail","sources":[{"name":"OSV · GHSA-r9mw-gwx9-v3h5","url":"https://osv.dev/vulnerability/GHSA-r9mw-gwx9-v3h5"}],"ranges":[{"events":[{"introduced":"2.6"},{"last_affected":"2.6.2"}],"type":"ECOSYSTEM"}],"versions":["2.6.0","2.6.1","2.6.2"],"fixed":[]},{"ecosystem":"Packagist","name":"zendframework/zend-mail","sources":[{"name":"OSV · GHSA-r9mw-gwx9-v3h5","url":"https://osv.dev/vulnerability/GHSA-r9mw-gwx9-v3h5"}],"ranges":[{"events":[{"introduced":"2.7"},{"fixed":"2.7.2"}],"type":"ECOSYSTEM"}],"versions":["2.7.0","2.7.1"],"fixed":["2.7.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2016-10034","https://framework.zend.com/security/advisory/ZF2016-04","https://github.com/zendframework/zend-mail","https://legalhackers.com/advisories/ZendFramework-Exploit-ZendMail-Remote-Code-Exec-CVE-2016-10034-Vuln.html","https://security.gentoo.org/glsa/201804-10","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"],"sources":[{"name":"OSV","id":"GHSA-r9mw-gwx9-v3h5","modified":"2024-04-23T23:26:47.206953Z","url":"https://osv.dev/vulnerability/GHSA-r9mw-gwx9-v3h5"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T00:45:32.402Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[{"source":"Exploit-DB","id":"40986","url":"https://www.exploit-db.com/exploits/40986","checkedAt":"2026-10-29T00:00:35.338Z"},{"source":"Exploit-DB","id":"42221","url":"https://www.exploit-db.com/exploits/42221","checkedAt":"2026-10-29T00:00:35.338Z"},{"source":"Exploit-DB","id":"40979","url":"https://www.exploit-db.com/exploits/40979","checkedAt":"2026-10-29T00:00:35.338Z"}]}