Loading...
Skip to main content

CVE-2016-10074 — Vulnerability in swiftmailer/swiftmailer — CVE...

CRITICAL

Swift Mailer mail transport Command Injection

Published May 17, 2022Updated April 14, 2025Source: osv

Summary

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.

Advisory Timeline

  • First published May 17, 2022 (1609 days ago).
  • Last revised April 14, 2025 — 1064 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update swiftmailer/swiftmailer to 5.4.5 or later
composer require "swiftmailer/swiftmailer:^5.4.5"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
swiftmailer/swiftmailer
packagist
4.1.3, 4.1.4, 4.1.5, 4.1.6 (+22 more)5.4.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2016-10074?
Swift Mailer mail transport Command Injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2016-10074?
CVE-2016-10074 affects swiftmailer/swiftmailer. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-10074 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-pr44-4jfr-286m

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies