CVE-2016-10033: PHPMailer Command Injection Vulnerability
Vulnerability summary
CVE-2016-10033 is a critical (CVSS 9.8) Argument Injection vulnerability in PHP PHPMailer. It is known to be exploited: CISA lists it, first on 07-07-2025. EPSS estimates a 99.71% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 16 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Duplicates 1 · Related 1Timeline
- 30-12-2016PublishedVulnerability first disclosed.
- 07-07-2025Added to CISA KEVPHPMailer Command Injection Vulnerability
- 28-07-2025CISA remediation dueApply mitigations per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.71%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 99.71% on 19-09-2026
Known exploited
Compare KEV catalogs- Added
- 07-07-2025
- Federal due date
- 28-07-2025
CISA 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. github.com/advisories/GHSA-5f37-gxvh-23v6 nvd.nist.gov/vuln/detail/CVE-2016-10033
Public exploits
16 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (legalhackers.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Show all 16 exploits
Exploit Reference (rapid7.com)
Maturity: unknown
Exploit Reference (securityfocus.com)
Maturity: unknown
WordPress Core 4.6 - Remote Code Execution
Maturity: poc
Vanilla Forums < 2.3 - Remote Code Execution
Maturity: poc
WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)
Maturity: weaponized
PHPMailer < 5.2.18 - Remote Code Execution
Maturity: poc
PHPMailer < 5.2.18 - Remote Code Execution
Maturity: poc
PHPMailer < 5.2.18 - Remote Code Execution
Maturity: poc
PHPMailer < 5.2.20 - Remote Code Execution
Maturity: poc
PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution
Maturity: poc
PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution
Maturity: poc
PHPMailer Sendmail Argument Injection
exploit/multi/http/phpmailer_arg_injection
Maturity: poc
WordPress PHPMailer Host Header Command Injection
exploit/unix/webapp/wp_phpmailer_host_header
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Alpine2 products
- php-phpmailer< 5.2.4-r0
- php5-phpmailer< 5.2.0-r1 | < 5.2.4-r1
Debian1 product
- libphp-phpmailer< 5.2.14+dfsg-2.1 | < 5.2.9+dfsg-2+deb8u2 | < 5.1-1.2
Joomla1 product
- joomla\!≥ 1.5.0, ≤ 3.6.5
Phpmailer_project1 product
- phpmailer< 5.2.18
Ubuntu1 product
- libphp-phpmailer< 5.2.14+dfsg-1ubuntu0.1~esm1
Wordpress1 product
- wordpress≤ 4.7
6 vendors · 7 products
References
29 links- packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- www.exploit-db.com/exploits/40968/ExploitX Refsource EXPLOIT DBPatchThird Party AdvisoryVDB EntryREPORT
- legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.htmlX Refsource MISCExploitPatchThird Party AdvisoryREPORT
- www.securityfocus.com/archive/1/539963/100/0/threadedMailing ListX Refsource BUGTRAQBroken LinkThird Party AdvisoryVDB Entry
- github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilitiesX Refsource CONFIRMPatchVendor AdvisoryREPORT
Show all 29 references
- packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB EntryREPORT
- www.exploit-db.com/exploits/40970/ExploitX Refsource EXPLOIT DBPatchThird Party AdvisoryVDB EntryREPORT
- www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionX Refsource MISCExploitThird Party Advisory
- seclists.org/fulldisclosure/2016/Dec/78Mailing ListX Refsource FULLDISCPatchThird Party AdvisoryREPORT
- developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.htmlX Refsource CONFIRMThird Party AdvisoryREPORT
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033Government ResourceUS Government Resource