CVE-2016-10074
Description
The mail transport (aka Swift_Transport_MailTransport) in Swift Mailer before 5.4.5 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 in the (1) From, (2) ReturnPath, or (3) Sender header.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
43.793%
chance of exploitation in the next 30 days
higher than 98.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 6
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 3
Weakness
- CWE-77: Improper Neutralization of Special Elements used in a Command
Timeline
- 2016-12-28First Exploit-DB entry (EDB-ID 40972)2 days before publication
- 2016-12-30Published by the CNA19:00 UTC
- 2022-05-17GitHub advisory published (GHSA-pr44-4jfr-286m)1964 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42221 | webapps | php | 2017-06-21 | no |
| EDB-ID 40986 | webapps | php | 2017-01-02 | no |
| EDB-ID 40972 | webapps | php | 2016-12-28 | no |
GitHub advisory GHSA-pr44-4jfr-286m, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist swiftmailer/swiftmailer | before 5.4.5 | 5.4.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| swiftmailer swiftmailer | through 5.4.4no fix listed | not listed |
References
- https://github.com/swiftmailer/swiftmailer/blob/5.x/CHANGES
- http://www.debian.org/security/2017/dsa-3769
- http://packetstormsecurity.com/files/140290/SwiftMailer-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2016/Dec/86
- https://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html
- https://www.exploit-db.com/exploits/40972/
- https://www.exploit-db.com/exploits/40986/
- https://www.exploit-db.com/exploits/42221/
- http://www.securityfocus.com/bid/95140
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-10074'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-10074'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-10074'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-10074'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).