CVE-2016-10033
Critical 9.8KEV · exploitedPublic exploit ×9Fix status unknownPHPMailer Command Injection Vulnerability
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 481 days ago for U.S. federal agencies
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.
Weakness: CWE-77, CWE-88
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| PHP | PHPMailer | Not documented | Not documented | CISA KEV |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
07 Jul 2025KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
07 Jul 2025Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 (opens in a new tab)vendor-advisory, x_refsource_confirm, x_transferred
- https://github.com/advisories/GHSA-5f37-gxvh-23v6 (opens in a new tab)vendor-advisory
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [CVE-2016-10033] (opens in a new tab)mailing-list, x_refsource_fulldisc, x_transferred
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection (opens in a new tab)x_refsource_misc, x_transferred
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033] (opens in a new tab)mailing-list, x_refsource_bugtraq, x_transferred
- 95108 (opens in a new tab)vdb-entry, x_refsource_bid, x_transferred
- 1037533 (opens in a new tab)vdb-entry, x_refsource_sectrack, x_transferred
- https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html (opens in a new tab)x_refsource_confirm, x_transferred
- https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html (opens in a new tab)x_refsource_misc, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2016-10033 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033 (opens in a new tab)government-resource
- https://www.drupal.org/psa-2016-004 (opens in a new tab)x_refsource_confirm, x_transferred
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.
- Exploit-DB 40968 (verified) (opens in a new tab)9 entries on Exploit-DB