CVE-2017-15806
HIGH 8.1CVSS 3.0Zeta Components Mail Arbitrary code execution via a crafted email address
The send function in the ezcMailMtaTransport class in Zeta Components Mail before 1.8.2 does not properly restrict the set of characters used in the ezcMail returnPath property, which might allow remote attackers to execute arbitrary code via a crafted email address, as demonstrated by one containing "-X/path/to/wwwroot/file.php."
- Published
- 15 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-hgr8-g756-vmg9
- Sources
- NVDJSONOSV GHSA-hgr8-g756-vmg9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zetacomponents | mailcpe:2.3:a:zetacomponents:mail:*:*:*:*:*:*:*:* |
< 1.8.2 | 1.8.2 |
| OSV | Packagist | zetacomponents/mail | < 1.8.2 | 1.8.2 |
References
- http://www.securityfocus.com/bid/101866 · Third Party Advisory, VDB Entry, WEB
- https://github.com/zetacomponents/Mail/issues/58 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/zetacomponents/Mail/releases/tag/1.8.2 · Issue Tracking, Release Notes, Third Party Advisory, WEB
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/ · Issue Tracking, Third Party Advisory, WEB
- https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/ · Issue Tracking, Third Party Advisory, WEB
- https://www.exploit-db.com/exploits/43155/ · Issue Tracking, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-15806 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zetacomponents/mail/CVE-2017-15806.yaml · WEB
- https://github.com/zetacomponents/Mail · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 15 Nov 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 May 2022)