{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-10045","published":"2016-12-30T19:59:00.247000Z","last_modified":"2026-06-17T00:38:57.007000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*","part":"a","vendor":"phpmailer_project","product":"phpmailer","version_end_excluding":"5.2.20"},{"criteria":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*","part":"a","vendor":"wordpress","product":"wordpress","version_end_including":"4.7"},{"criteria":"cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*","part":"a","vendor":"joomla","product":"joomla!","version_start_including":"1.5.0","version_end_including":"3.6.5"}],"cpes_truncated":false,"vendors":["phpmailer_project","wordpress","joomla"],"products":["phpmailer_project/phpmailer","wordpress/wordpress","joomla/joomla"],"epss":{"score":0.97738,"percentile":0.99941,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4pc3-96mx-wwc8","ecosystem":"Packagist","name":"phpmailer/phpmailer","purl":"pkg:composer/phpmailer/phpmailer","ranges":[{"introduced":"5.0.0","fixed":"5.2.20"}],"versions":["v5.2.10","v5.2.11","v5.2.12","v5.2.13","v5.2.14","v5.2.15","v5.2.16","v5.2.17","v5.2.18","v5.2.19","v5.2.2","v5.2.4","v5.2.5","v5.2.6","v5.2.7","v5.2.8","v5.2.9"],"versions_truncated":false}],"severity":"critical","priority_score":84,"links":{"html_es":"/es/cve/CVE-2016-10045/","html_en":"/en/cve/CVE-2016-10045/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-10045","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-10045"},"untrusted":{"vendor_name":"Phpmailer Project","product_name":"Phpmailer","desc_en":"The 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.","affected":[],"references":[{"url":"http://openwall.com/lists/oss-security/2016/12/28/1","tags":["Mailing List","Patch"]},{"url":"http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://seclists.org/fulldisclosure/2016/Dec/81","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection","tags":["Exploit","Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/539967/100/0/threaded","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/95130","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1037533","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html","tags":["Third Party Advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities","tags":["Patch","Vendor Advisory"]},{"url":"https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/40969/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/40986/","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/42221/","tags":["Third Party Advisory","VDB Entry"]}]}}