CVE-2016-10033
CRITICAL 9.8CVSS 3.1known exploitedRemote code execution in PHPMailer
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.
- Published
- 30 Dec 2016
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-77CWE-88
- Also known as
- GHSA-5f37-gxvh-23v6
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-5f37-gxvh-23v6JSON
In CISA's Known Exploited Vulnerabilities catalog since 7 Jul 2025; US federal agencies must fix it by 28 Jul 2025.
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
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpmailer_project | phpmailercpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* |
< 5.2.18 | 5.2.18 |
| NVD | wordpress | wordpresscpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* |
<= 4.7 | |
| NVD | joomla | joomla!cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* |
>= 1.5.0, <= 3.6.5 | |
| OSV | Packagist | phpmailer/phpmailer | >= 5.0.0, < 5.2.18 | 5.2.18 |
References
- http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2016/Dec/78 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection · Exploit, Third Party Advisory, WEB
- http://www.securityfocus.com/archive/1/539963/100/0/threaded · Broken Link, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/95108 · Broken Link, Exploit, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037533 · Broken Link, Third Party Advisory, VDB Entry
- https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html · Third Party Advisory, WEB
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 · Patch, Vendor Advisory, WEB
- https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities · Patch, Vendor Advisory, WEB
- https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html · Exploit, Patch, Third Party Advisory, WEB
- https://www.drupal.org/psa-2016-004 · Third Party Advisory, WEB
- https://www.exploit-db.com/exploits/40968/ · Exploit, Patch, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/40969/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/40970/ · Exploit, Patch, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/40974/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/40986/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/41962/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/41996/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/42024/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/42221/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033 · US Government Resource, WEB
- https://github.com/advisories/GHSA-5f37-gxvh-23v6
- https://nvd.nist.gov/vuln/detail/CVE-2016-10033 · ADVISORY
- https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-5f37-gxvh-23v6 · WEB
- https://github.com/PHPMailer/PHPMailer · PACKAGE
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10033.yaml · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 30 Dec 2016)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Mar 2020)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 7 Jul 2025)
- 7 Jul 2025 00:00 UTC · Listed as known exploited