CVE-2017-15806Zetacomponents Mail
High 8.1 No auth neededHigh EPSS
Follow: this CVE · Zetacomponents · Zetacomponents Mail We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.0
- 8.1
- EPSS
- 10.7% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Nov 15, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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."
What to do
- Apply the vendor's security update for Mail.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | zetacomponents/mail |
< 1.8.2 |
1.8.2 |
composer require "zetacomponents/mail:^1.8.2" |
Per OSV / GitHub Advisories (GHSA-hgr8-g756-vmg9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zetacomponents | < 1.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Release Notes Third Party Advisory
- kay-malwarebenchmark.github.io Issue Tracking Third Party Advisory
- kay-malwarebenchmark.github.io Issue Tracking Third Party Advisory
- www.exploit-db.com Issue Tracking Third Party Advisory VDB Entry