CVE-2016-10074: Remote Code Execution when using the mail transport

Published Dec 29, 2016
·
Updated

Remote Code Execution when using the mail transport

Other sources

The mail transport (aka SwiftTransportMailTransport) 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.

Affected Software

8 affected componentsFixes available
composer/swiftmailer/swiftmailer>=4.0.0, <5.0.0, >=5.0.0, <5.4.5
composer/swiftmailer/swiftmailer<5.4.5
5.4.5
Swiftmailer Swiftmailer<=5.4.4
composer/swiftmailer/swiftmailer>=4.0.0, <5.0.0
composer/swiftmailer/swiftmailer>=5.0.0, <5.4.5
5.4.5
ubuntu/libphp-swiftmailer*
ubuntu/libphp-swiftmailer<5.4.2-1.1
5.4.2-1.1
ubuntu/libphp-swiftmailer<5.4.2-1.1
5.4.2-1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/swiftmailer/swiftmailer to a version that resolves this vulnerability.

    Fixed in 5.4.5
  2. Upgrade

    Upgrade ubuntu/libphp-swiftmailer to a version that resolves this vulnerability.

    Fixed in 5.4.2-1.1

Event History

Dec 29, 2016
Advisory Published
10:01 AM
Data Sourced
via Packagist·10:01 AM
DescriptionSeverityAffected Software
Dec 30, 2016
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via OSV·07:59 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-10074?

CVE-2016-10074 is considered a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2016-10074?

To mitigate CVE-2016-10074, upgrade Swift Mailer to version 5.4.5 or later.

3

What software is affected by CVE-2016-10074?

CVE-2016-10074 affects Swift Mailer versions prior to 5.4.5, specifically versions 4.0.0 up to 5.4.4.

4

What type of attack does CVE-2016-10074 enable?

CVE-2016-10074 allows remote attackers to execute arbitrary code by injecting parameters into the mail transport command.

5

Is there a known exploit for CVE-2016-10074?

Yes, there are known exploits that leverage CVE-2016-10074 to execute malicious code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203