home / blog
2026-11-27 · critical
Analysis of CVE-2016-10033: Critical PHPMailer Vulnerability
PHPMailer vulnerable to mail() parameter injection, CVE-2016-10033, severity 9.8

CVE-2016-10033 identifies a critical vulnerability in the mailSend function of PHPMailer's isMail transport. The flaw allows an attacker to pass extra parameters to the mail command via a '\"\"' sequence in the Sender property, executing arbitrary code.
The vulnerability has a CVSS score of 9.8 (critical severity) and was fixed in version 5.2.18. Recent GitHub signals indicate the vulnerability continues to be monitored by the community, despite being published in 2016.
Organizations using PHPMailer must verify they are using versions 5.2.18 or later. No alternative mitigations to patching are available, as the vulnerability allows arbitrary code execution.
At a glance
- What
- The mailSend function in PHPMailer's isMail transport allows injection of extra parameters to the mail command via a '\"\"' sequence in the Sender property, leading to arbitrary code execution.
- Severity
- 9.8 (critical) according to CVSS
- Affected versions
- PHPMailer versions prior to 5.2.18
- Fix
- Update to PHPMailer version 5.2.18 or later
- Status
- Fixed, CVE published on 2016-12-30
- Action
- Apply the update to version 5.2.18 or later
Sources: NVD, CVE-2016-10033