CVE-2016-10045

Summary

CVECVE-2016-10045
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-12-30 19:59:00 UTC
Updated2021-09-30 16:30:00 UTC
DescriptionThe isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

Risk And Classification

Problem Types: CWE-77

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Joomla Joomla! All All All All
Application Phpmailer Project Phpmailer All All All All
Application Phpmailer Project Phpmailer All All All All
Application Wordpress Wordpress All All All All

References

ReferenceSourceLinkTags
CVE-2016-10033 PHPMailer Sendmail Argument Injection | Rapid7 MISC www.rapid7.com Exploit, Third Party Advisory
PHPMailer < 5.2.20 - Remote Code Execution EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory
About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities · PHPMailer/PHPMailer Wiki · GitHub CONFIRM github.com Patch, Vendor Advisory
SecurityFocus BUGTRAQ www.securityfocus.com
PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com
Full Disclosure: PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch) FULLDISC seclists.org Mailing List, Patch
PHPMailer Input Validation Flaw Lets Remote Users Execute Arbitrary Code on the Target System - SecurityTracker SECTRACK www.securitytracker.com
PHPMailer CVE-2016-10045 Incomplete Fix Remote Code Execution Vulnerability BID www.securityfocus.com Exploit, Third Party Advisory, VDB Entry
PHPMailer Sendmail Argument Injection ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory
PHPMailer Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory
Release PHPMailer 5.2.20 · PHPMailer/PHPMailer · GitHub CONFIRM github.com Patch, Vendor Advisory
PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com
oss-security - Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033] MLIST openwall.com Mailing List, Patch
PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass MISC legalhackers.com Exploit, Patch, Third Party Advisory
[20161205] - PHPMailer Security Advisory CONFIRM developer.joomla.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 199517 Ubuntu Security Notification for PHPMailer Vulnerabilities (USN-5956-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report