Skip to content

CVE-2016-10033 Remote code execution in PHPMailer

CriticalCVSS 9.8 EPSS 99.7% CISA KEV added 2025-07-07 · due 2025-07-28 Exploited in the wild Framework module Public exploit PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)

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.

CISA Known Exploited Vulnerability

Date added
2025-07-07
Due date (FCEB)
2025-07-28
Ransomware use
Unknown

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.

Affected products

ProductAffected versionsFixed in
phpmailer/phpmailer(Packagist) >= 5.0.0, < 5.2.18 5.2.18
phpmailer/phpmailer(Packagist) = v5.2.10 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.11 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.12 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.13 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.14 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.15 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.16 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.17 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.2 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.4 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.5 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.6 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.7 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.8 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.9 No fix listed
debian/libphp-phpmailer(Debian:12) < 5.2.14+dfsg-2.1 5.2.14+dfsg-2.1
debian/libphp-phpmailer(Debian:14) < 5.2.14+dfsg-2.1 5.2.14+dfsg-2.1
debian/libphp-phpmailer(Debian:13) < 5.2.14+dfsg-2.1 5.2.14+dfsg-2.1
phpmailer project phpmailer < 5.2.18 5.2.18
WordPress <= 4.7 No fix listed
joomla >= 1.5.0, <= 3.6.5 No fix listed
alpine/php-phpmailer(Alpine:v3.2) < 5.2.4-r0 5.2.4-r0
alpine/php-phpmailer(Alpine:v3.3) < 5.2.4-r0 5.2.4-r0
alpine/php5-phpmailer(Alpine:v3.4) < 5.2.0-r1 5.2.0-r1
Show 1 more
ProductAffected versionsFixed in
alpine/php5-phpmailer(Alpine:v3.5) < 5.2.4-r1 5.2.4-r1

References