CVE-2016-10033
CONFIRMED EXPLOITEDPHPMailer Command Injection Vulnerability
Is PHP PHPMailer affected by CVE-2016-10033?
PHP PHPMailer is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2016-10033, added on 2025-07-07. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (3 vulnerable CPE entries): joomla joomla\!, phpmailer_project phpmailer and wordpress wordpress.
Published CPE version bounds mark releases below 5.2.18 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2025-07-28.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2019-11043Same vendorPHP FastCGI Process Manager (FPM)
PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability
- CVE-2012-1823Same vendorPHP PHP
PHP-CGI Query String Parameter Vulnerability
- CVE-2026-116779Shared weaknessSignalWire FreeSwitch
SignalWire FreeSwitch Code Injection Vulnerability
- CVE-2026-105134Shared weaknessAhsay AhsayCBS
Ahsay AhsayCBS Command Injection Vulnerability
- CVE-2014-3931Neighboring entryLooking Glass Multi-Router Looking Glass (MRLG)
Multi-Router Looking Glass (MRLG) Buffer Overflow Vulnerability
- CVE-2019-5418Neighboring entryRails Ruby on Rails
Rails Ruby on Rails Path Traversal Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
PHPMailer contains a command injection vulnerability because it fails to sanitize user-supplied input. Specifically, this issue affects the 'mail()' function of 'class.phpmailer.php' script. An attacker can exploit this issue to execute arbitrary code within the context of the application. Failed exploit attempts will result in a denial-of-service condition.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2025-07-07. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of PHPMailer has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (PHP PHPMailer): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running PHP PHPMailer and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2016/Dec/78Mailing ListPatchThird Party Advisory
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionExploitThird Party Advisory
- http://www.securityfocus.com/archive/1/539963/100/0/threadedBroken LinkThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/95108Broken LinkExploitThird Party Advisory
- http://www.securitytracker.com/id/1037533Broken LinkThird Party AdvisoryVDB Entry
- https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.htmlThird Party Advisory
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18PatchVendor Advisory
- https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilitiesPatchVendor Advisory
- https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.htmlExploitPatchThird Party Advisory
- https://www.drupal.org/psa-2016-004Third Party Advisory
- https://www.exploit-db.com/exploits/40968/ExploitPatchThird Party Advisory
- https://www.exploit-db.com/exploits/40969/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/40970/ExploitPatchThird Party Advisory
- https://www.exploit-db.com/exploits/40974/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/40986/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/41962/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/41996/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/42024/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/42221/ExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2016/Dec/78Mailing ListPatchThird Party Advisory
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionExploitThird Party Advisory
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine