Swift Mailer Vulnerability — Ubuntu Security Update (USN-8986-1)
USN-8986-1 fixes CVE-2016-10074 in Swift Mailer on Ubuntu: improper sanitization of email addresses in the mail transport lets a remote attacker pass extra parameters to the mail command — the classic email header injection that can hijack outgoing mail (CVSS 9.8, CWE-77 command injection). Update: sudo apt update && sudo apt upgrade and restart applications using Swift Mailer.
Was das unter einer SharedLicense-Lizenz bedeutet
Header injection in a mail library means attacker-controlled input can add recipients, rewrite messages or execute mail-command parameters — turning contact forms and password-mailers into spam and phishing cannons.
-
USN-8986-1
Publication date
3 November 2026
Overview
Swift Mailer could be made to run programs if it received specially crafted
input.
Releases
Open side navigation
Packages
- libphp-swiftmailer – free feature-rich PHP mailer
Details
Dawid Golunski discovered that Swift Mailer did not properly sanitize
e-mail addresses in the mail transport. A remote attacker could possibly
use this issue to pass extra parameters to the mail command and execute
arbitrary code.
Dawid Golunski discovered that Swift Mailer did not properly sanitize
e-mail addresses in the mail transport. A remote attacker could possibly
use this issue to pass extra parameters to the mail command and execute
arbitrary code.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.
The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
|
16.04
LTS xenial |
php-swiftmailer –
5.4.1-1ubuntu1+esm1 |
||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.
References
Häufig gestellte Fragen
What is CVE-2016-10074?
Who is affected?
How do I apply the fix?
What does email header injection enable?
Referenzen
System auf Schwachstellen prüfen
Wählen Sie Ihr Produkt und Betriebssystem, um die passenden Fix-Befehle zu sehen.
System prüfen