High
Security advisory
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."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-15806
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:44 UTC · Revision 1
Source evidence
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."
osv:CVE-2017-15806
Complete source record
{
"id": "c3e55535726428fc8fbda2da014d80aaf8e766e23443a5e6d994cbab0646d091",
"url": "https://osv.dev/vulnerability/CVE-2017-15806",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-15806",
"summary": "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.\"",
"evidence": "osv:CVE-2017-15806",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-15806",
"aliases": [
"CVE-2017-15806",
"GHSA-hgr8-g756-vmg9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zetacomponents/mail",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b55dc8e88cf14c8386c77374deb460be21ae6143"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:zetacomponents:mail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.8.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b55dc8e88cf14c8386c77374deb460be21ae6143"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.8.2"
}
]
}
}
],
"versions": [
"1.8.1",
"1.8",
"1.8beta1",
"1.7",
"1.7rc1",
"1.7beta1",
"1.7alpha1",
"1.6.3",
"1.6.2",
"1.6.1",
"1.6",
"1.6rc1",
"1.6beta1",
"1.6alpha1",
"1.5.2",
"1.5.1",
"1.5",
"1.5rc1",
"1.5beta1",
"1.5alpha1",
"1.4.3",
"1.4.2",
"1.4.1",
"1.4",
"1.4rc1",
"1.4beta1",
"1.4alpha2",
"1.4alpha1",
"1.3",
"1.3rc1",
"1.3beta2",
"1.2",
"1.2beta2",
"1.2beta1",
"1.1.2",
"1.1.1",
"1.1",
"1.1rc1",
"1.1beta2",
"1.1beta1",
"1.1alpha1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15806.json"
}
}
],
"modified": "2026-10-20T10:47:46.421146847Z",
"provider": "osv",
"references": [
"https://github.com/zetacomponents/Mail/issues/58",
"https://github.com/zetacomponents/Mail/releases/tag/1.8.2",
"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-critical-rce-vulnerability/",
"https://kay-malwarebenchmark.github.io/blog/cve-2017-15806-yuan-cheng-dai-ma-zhi-xing-lou-dong/",
"https://www.exploit-db.com/exploits/43155/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-15806",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379689,
"published_at": "2017-11-15T16:29:00.483+00:00"
}