Remote code executionin the swiftmailer/swiftmailer package.
Proof of concept public (Exploit-DB).
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.
- Upgrade swiftmailer/swiftmailer (Packagist) to 5.4.5 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Dec 2016CVE ID reserved by mitre.
- 30 Dec 2016Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- legalhackers.com x_refsource_MISC
- www.securityfocus.com vdb-entry, x_refsource_BID
- packetstormsecurity.com x_refsource_MISC
- seclists.org mailing-list, x_refsource_FULLDISC
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- github.com x_refsource_CONFIRM
Patchminder. CVE-2016-10074: Remote code execution in the swiftmailer/swiftmailer package. https://patchminder.com/cve/cve-2016-10074/ (accessed 5 December 2026).