CISA list

As of , CVE-2016-10033 in PHPMailer is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2016-10033

PHPMailer: Command Injection. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.99
  • Verified Exploit-DB entry

CISA's required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Patch infofixed versions and vendor advice

What to install

  • Affects PHPMailer.

The record's list of affected products gives no versions.

Vendor advice

Vendor advice: github.com, from CISA's entry.

EPSS score
0.99
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 7 July 2025
US federal deadline
28 July 2025 21 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
0.94 on 7 July 2025 EPSS on the day CISA listed it.
Public exploit
2 Metasploit modules and 9 Exploit-DB entries (2 verified)

In software packages

Affected packages

Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.

  • phpmailer/phpmailerPackagist

    Affects phpmailer/phpmailer from 5.0.0 before 5.2.18.

    Fixed in 5.2.18.

    Advisory GHSA-5f37-gxvh-23v6

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2026.06.1520260.000.501.00Listed by CISAEPSS model v2026.06.152026

EPSS for CVE-2016-10033 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.94
0.99

Timeline

What happened when

  1. Exploit-DB published an exploit (EDB-ID 40970).
  2. Exploit-DB published an exploit (EDB-ID 40968).
  3. Exploit-DB published an exploit (EDB-ID 40969).
  4. Exploit-DB published an exploit (EDB-ID 40974).
  5. The CVE record was published.
  6. Exploit-DB published an exploit (EDB-ID 40986).
  7. Exploit-DB published an exploit (EDB-ID 41962).
  8. Exploit-DB published an exploit (EDB-ID 41996).
  9. Exploit-DB published an exploit (EDB-ID 42024).
  10. Exploit-DB published an exploit (EDB-ID 42221).
  11. CISA added it to its list of exploited vulnerabilities.
  12. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Read further: CISA's catalog

The flaw

What the flaw is

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.

CISA's 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.

The CVE record's description, from mitre

CVE published
30 December 2016
Assigned by
mitre
CVSS
9.8 Critical (CVSS 3.1, from CISA-ADP)
CWE-88
Improper Neutralization of Argument Delimiters in a Command
CWE-77
Improper Neutralization of Special Elements used in a Command
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
WordPress PHPMailer Host Header Command Injection
exploit module, rank average
Metasploit
PHPMailer Sendmail Argument Injection
exploit module, rank manual
Exploit-DB
WordPress Plugin PHPMailer 4.6 - Host Header Command Injection (Metasploit)
EDB-ID 42024, verified by Exploit-DB, 17 May 2017
Exploit-DB
PHPMailer < 5.2.18 - Remote Code Execution
EDB-ID 40968, verified by Exploit-DB, 26 December 2016
Exploit-DB
PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution
EDB-ID 42221, 21 June 2017
Exploit-DB
Vanilla Forums < 2.3 - Remote Code Execution
EDB-ID 41996, 11 May 2017
Exploit-DB
WordPress Core 4.6 - Remote Code Execution
EDB-ID 41962, 3 May 2017
Exploit-DB
PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution
EDB-ID 40986, 2 January 2017
Exploit-DB
PHPMailer < 5.2.18 - Remote Code Execution
EDB-ID 40974, 29 December 2016
Exploit-DB
PHPMailer < 5.2.20 - Remote Code Execution
EDB-ID 40969, 27 December 2016
Exploit-DB
PHPMailer < 5.2.18 - Remote Code Execution
EDB-ID 40970, 25 December 2016
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0