SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2016-10033

PHPMailer Command Injection Vulnerability

KEVEXPLOIT ×9 ✓CRITICAL 9.8EPSS 99.7%

Does this matter?

Known to be exploited in the wild (CISA KEV, CISA remediation deadline 28 July 2025). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
99.71% probability · 100th percentile
Public exploits
9 in Exploit-DB · verified · first 25 December 2016
CISA KEV
Listed 7 July 2025 · due 28 July 2025
Weakness
CWE-88
Affected
phpmailer project/phpmailer · wordpress/wordpress · joomla/joomla\!
Source
cve@mitre.org
EPSS trend
0%50%100%30 October 2026: 99.71%30 October 202630 October 2026

EPSS 99.7% since 30 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

CISA notes

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 ; https://github.com/advisories/GHSA-5f37-gxvh-23v6 ; https://nvd.nist.gov/vuln/detail/CVE-2016-10033

Public exploits (9)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-42221source ↗PHPMailer < 5.2.20 with Exim MTA - Remote Code Executionphp · phackt_ulwebapps21 June 2017no
EDB-42024source ↗WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)php · Metasploitremote17 May 2017yes
EDB-41996source ↗Vanilla Forums < 2.3 - Remote Code Executionphp · Dawid Golunskiremote11 May 2017no
EDB-41962source ↗WordPress Core 4.6 - Remote Code Executionlinux · Dawid Golunskiwebapps3 May 2017no
EDB-40986source ↗PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Executionphp · Dawid Golunskiwebapps2 January 2017no
EDB-40974source ↗PHPMailer < 5.2.18 - Remote Code Executionphp · anarc0derwebapps29 December 2016no
EDB-40969source ↗PHPMailer < 5.2.20 - Remote Code Executionphp · Dawid Golunskiwebapps27 December 2016no
EDB-40968source ↗PHPMailer < 5.2.18 - Remote Code Executionphp · Dawid Golunskiwebapps26 December 2016yes
EDB-40970source ↗PHPMailer < 5.2.18 - Remote Code Executionphp · Dawid Golunskiwebapps25 December 2016no

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.