CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as PHPMailer Command Injection Vulnerability.
- Added
- 7 Jul 2025
- Fix due (US federal)
- 28 Jul 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.7% · top 0.1% of all CVEs (2 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistphpmailer/phpmailerGHSA-5f37-gxvh-23v6 (opens in a new tab)
References (22)
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.drupal.org/psa-2016-004 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 42221 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 40969 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 41962 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 40968 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033] (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- 40974 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 40986 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 40970 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection (opens in a new tab)x_refsource_MISCx_transferred
- 41996 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [CVE-2016-10033] (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- 95108 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1037533 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 42024 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5f37-gxvh-23v6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .