Live threats

All CVEs / Swiftmailer

CVE-2016-10074Swiftmailer

Critical 9.8 No auth neededHigh EPSS

Priority
78
CVSS 3.0
9.8
EPSS
41.4%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Dec 30, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Swiftmailer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist swiftmailer/swiftmailer < 5.4.5 5.4.5 composer require "swiftmailer/swiftmailer:^5.4.5"

Per OSV / GitHub Advisories (GHSA-pr44-4jfr-286m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
swiftmailerswiftmailer≤ 5.4.4

Official sources

References

Links published by the sources. Open them with care.