CVE-2016-10033
Confirmed PUBLISHEDThe mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command...
1 day faster than CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Dec 30, 2016
- Exploitation Reported
- Jun 01, 2026
- CVSS
- 9.8 Critical
- EPSS
- 99.7%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
n/a
|
n/a |
Affected |
CVE References
- 42221 exploit-db.com · Exploit https://www.exploit-db.com/exploits/42221/
- 40969 exploit-db.com · Exploit https://www.exploit-db.com/exploits/40969/
- 41962 exploit-db.com · Exploit https://www.exploit-db.com/exploits/41962/
- 40968 exploit-db.com · Exploit https://www.exploit-db.com/exploits/40968/
- 40974 exploit-db.com · Exploit https://www.exploit-db.com/exploits/40974/
Show 16 more references
- 40986 exploit-db.com · Exploit https://www.exploit-db.com/exploits/40986/
- 40970 exploit-db.com · Exploit https://www.exploit-db.com/exploits/40970/
- 41996 exploit-db.com · Exploit https://www.exploit-db.com/exploits/41996/
- 42024 exploit-db.com · Exploit https://www.exploit-db.com/exploits/42024/
- 95108 securityfocus.com · VDB Entry http://www.securityfocus.com/bid/95108
- 1037533 securitytracker.com · VDB Entry http://www.securitytracker.com/id/1037533
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033] securityfocus.com · Mailing List http://www.securityfocus.com/archive/1/539963/100/0/threaded
- 20161227 PHPMailer < 5.2.18 Remote Code Execution [CVE-2016-10033] seclists.org · Mailing List http://seclists.org/fulldisclosure/2016/Dec/78
- packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Inj... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argume...
- drupal.org/psa-2016-004 drupal.org · CVE Record https://www.drupal.org/psa-2016-004
- legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exe... legalhackers.com · CVE Record https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exe...
- GitHub — PHPMailer/PHPMailer github.com · CVE Record https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18
- GitHub — PHPMailer/PHPMailer github.com · CVE Record https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-...
- packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Exe...
- rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_... rapid7.com · CVE Record http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_inj...
- developer.joomla.org/security-centre/668-20161205-phpmailer-secur... developer.joomla.org · CVE Record https://developer.joomla.org/security-centre/668-20161205-phpmailer-s...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CVE First | 2026-06-01 10:36 UTC |
| CISA | 2026-06-02 14:07 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-10033.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/wp_phpmailer_host_header.rb | Apr 29, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2026-06-01 13:30:38 UTC · CISA
Proof of concept available
Recorded 2016-12-26 13:39:03 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/wp_phpmailer_host_header.rb | Apr 29, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2016/CVE-2016-10033.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2025-04-25 15:47:14 UTC · 0 stars
A PoC of CVE-2016-10033 I made for PentesterLab
github · Created 2024-05-22 05:33:58 UTC · 0 stars
Proof Of Concept for the CVE-2016-10033 (PHPMailer)
github · Created 2024-05-16 18:56:39 UTC · 0 stars
CVE-2016-10033 Wordpress 4.6 Exploit
github · Created 2022-08-05 08:24:14 UTC · 0 stars
PHPMailer < 5.2.18 Remote Code Execution
github · Created 2021-08-31 13:46:28 UTC · 1 stars
Remote Code Execution vulnerability in PHPMailer.
github · Created 2018-02-09 14:53:51 UTC · 7 stars
PHPMailer < 5.2.18 Remote Code Execution Exploit
github · Created 2017-07-22 03:20:41 UTC · 0 stars
github · Created 2017-06-28 07:09:54 UTC · 0 stars
github · Created 2017-05-19 12:52:21 UTC · 0 stars
WordPress 4.6 - Remote Code Execution (RCE) PoC Exploit
github · Created 2017-05-10 12:01:07 UTC · 2 stars
Code and vulnerable WordPress container for exploiting CVE-2016-10033
github · Created 2017-05-10 03:18:46 UTC · 9 stars
RCE against WordPress 4.6; Python port of https://exploitbox.io/vuln/WordPress-Exploit-4-6-RCE-CODE-EXEC-CVE-2016-10033.html
github · Created 2016-12-26 13:39:03 UTC · 403 stars
PHPMailer < 5.2.18 Remote Code Execution exploit and vulnerable container
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:07 UTC about 2 months ago14:07 UTC · about 2 months ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
10:36 UTC about 2 months ago10:36 UTC · about 2 months ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
10:58 UTC about 1 year ago10:58 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
19:00 UTC over 9 years ago19:00 UTC · over 9 years ago
CVE published
Vulnerability disclosed publicly
-
13:39 UTC over 9 years ago13:39 UTC · over 9 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC over 9 years ago00:00 UTC · over 9 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2016-10033
{
"cve_id": "CVE-2016-10033",
"title": "The mailSend function in the isMail transport in PHPMailer before 5.2.18 migh...",
"affected_vendor": "PHPMailer",
"affected_product": "PHPMailer",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": 0.99714,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}