PHPMailer Command Injection Vulnerability
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…
Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.
Exploitation probability EPSS · FIRST
Exploitation signals 4 / 5
- KEV catalog (CISA)07 Jul 2025
- Exploited in EUVD (ENISA)07 Jul 2025
- Used by ransomwareno
- EPSS above 10 %99.7%
- No account, over the networkyes
What to do
Fix
Apply the vendor’s fix as soon as it is available.
CISA guidance: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Meanwhile
Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.
Manufacturers (CRA)
Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained
Description ENISA EUVD
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.
Affected products
Open source packages OSV
Affected libraries according to OSV, with fixed versions.
Timeline
-
Published
-
Exploitation reported (ENISA)
-
Added to the KEV catalog
-
CISA remediation due date
-
EPSS peak: 99.7%
References
- cve.org · CVE-2016-10033
- ENISA EUVD · EUVD-2020-0331
- CISA KEV
- FIRST EPSS
- packetstormsecurity.com
- drupal.org
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- legalhackers.com
- github.com
- securityfocus.com
- github.com
- packetstormsecurity.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- rapid7.com
- exploit-db.com
Other exploited vulnerabilities from the same vendor
- CVE-2019-11043PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability9.5 · Background exploitation
- CVE-2012-1823PHP-CGI Query String Parameter Vulnerability9.3 · Background exploitation