CVE-2016-10033Phpmailer Command Injection
Remote code execution in PHPMailer
Published Dec 30, 2016 · Updated Oct 24, 2026 · Also known as ALPINE-CVE-2016-10033, DEBIAN-CVE-2016-10033, DLA-770-1, DSA-3750-1, GHSA-5f37-gxvh-23v6, MGASA-2017-0022, UBUNTU-CVE-2016-10033, USN-5956-1
Key Facts
Patch immediately- CVE-2016-10033 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Joomla\!, Phpmailer (Phpmailer Project), Wordpress and 4 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jan 26, 2022. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 100% probability of exploitation in the next 30 days.
- Fixed versions are available, including Joomla\! 3.6.5, libphp-phpmailer 5.1-1.2, libphp-phpmailer 5.2.14+dfsg-1ubuntu0.1~esm1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
100%
Higher than 99.9% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
86/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Jul 7, 2025
3111 days after publication
Federal due date
Jul 28, 2025
Overdue
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
19
Proof-of-concept links
In-the-wild evidence
8
Reports of active use
Required action (CISA): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Advisories And Exploit References
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10033.yaml
- advisoryhttps://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
- advisoryhttps://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2016-10033
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2016-10033
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2016-10033
Description
The mailSend function in the isMail transport in PHPMailer before 5.2.18 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 Sender property.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Jul 7, 2025 | Jul 28, 2025 | Not reported |
| Industry KEV feed | Jan 26, 2022 | Jul 28, 2025 | Not reported |
| CIRCL KEV | Jul 7, 2025 | Jul 28, 2025 | Not reported |
| ENISA EUVD | Jul 7, 2025 | n/a | Not reported |
Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Affected Products
28 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Joomla\!Joomla | See advisory | 3.6.5 |
| PhpmailerPhpmailer Project | See advisory | 5.2.18 |
| WordpressWordpress | See advisory | 4.7 |
| php5-phpmaileralpine | See advisory | 5.2.0-r1 |
| php-phpmaileralpine | See advisory | 5.2.4-r0 |
Patched Releases
Joomla\!
3.6.5
libphp-phpmailer
5.1-1.2, 5.2.14+dfsg-1ubuntu0.1~esm1, 5.2.14+dfsg-2.1, 5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1, 5.2.9+dfsg-2+deb8u2, 6.0.6-0.1ubuntu0.1~esm1, 6.2.0-2ubuntu0.1~esm1
php-phpmailer
5.2.22-1.mga5, 5.2.4-r0
php5-phpmailer
5.2.0-r1, 5.2.4-r1
Phpmailer
5.2.18
phpmailer/phpmailer
5.2.18
Wordpress
4.7.1-1, 4.7
Timeline
Publicly disclosed
Dec 30, 2016
Added to Industry KEV feed
Jan 26, 2022
Added to CISA KEV
Jul 7, 2025
Added to CIRCL KEV
Jul 7, 2025
Added to ENISA EUVD
Jul 7, 2025
Last updated
Oct 24, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
- advisorygithub.com · CVE-2016-10033
- advisorygithub.com · CVE-2016-10033
- advisorylegalhackers.com · CVE-2016-10033
- advisorynvd.nist.gov · CVE-2016-10033
- advisorysecurity.alpinelinux.org · CVE-2016-10033
FAQ
Common Questions.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 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 Sender property.
Affected: Joomla\!; Phpmailer (Phpmailer Project); Wordpress, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jan 26, 2022.
Yes. It was added on Jul 7, 2025 with a federal remediation due date of Jul 28, 2025.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Joomla\! 3.6.5, libphp-phpmailer 5.1-1.2, libphp-phpmailer 5.2.14+dfsg-1ubuntu0.1~esm1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2016-10033 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo