Skip to content

CVE-2016-10033

PHPMailer Command Injection Vulnerability

  • Actively exploited
  • Critical · 9.8 of 10
Exploited since
7 Jul 2025
added to the CISA list
Chance of attacks
100%
in the next 30 days (FIRST EPSS)
Fix deadline
28 Jul 2025
for US federal agencies
Published
30 Dec 2016
in the NVD

What this means

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

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.

NIST National Vulnerability Database

What 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.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • n/a n/a

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

By using this site, you agree to the Privacy Policy.