Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2016-10045

91
FAUCET Score

CVE-2016-10045 is a critical remote code execution vulnerability affecting PHPMailer versions prior to 5.2.20, including its integration within Joomla and WordPress. This flaw, an incorrect fix for CVE-2016-10033, allows attackers to inject extra parameters into the mail command due to improper interaction between escapeshellarg and PHP's internal mail function. With a CVSS score of 9.8 (CRITICAL), it presents a low-complexity attack vector with no user interaction required, leading to complete compromise of confidentiality, integrity, and availability. The vulnerability has publicly available exploit modules in Metasploit and ExploitDB, indicating a high potential for exploitation, and has garnered significant community discussion and media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.2.20CPE matchmatch criteria
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*
<= 4.7CPE matchmatch criteria
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
>= 1.5.0, <= 3.6.5CPE matchmatch criteria
cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
98.04%
Probability of exploitation in next 30 days
EPSS Percentile
99.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
Metasploit: PHPMailer Sendmail Argument Injection · Dec 26, 2016
ExploitDB: EDB-42221 · Jun 21, 2017
This CVE's current EPSS score of 0.9804 is in the 99th percentile among its peer group of 36,821 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

composerpatch availablevia ghsa
Product: phpmailer/phpmailerFixed in: 5.2.20
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-4pc3-96mx-wwc8critical

Remote code execution in PHPMailer

Mar 5, 2020

References

openwall.com / lists/oss-security/2016/12/28/1
Mailing ListPatch
packetstormsecurity.com / files/140286/PHPMailer-Remote-Code-Execution.html
ExploitThird Party AdvisoryVDB Entry
packetstormsecurity.com / files/140350/PHPMailer-Sendmail-Argument-Injection.html
ExploitThird Party AdvisoryVDB Entry
developer.joomla.org / security-centre/668-20161205-phpmailer-security-advisory.html
Third Party Advisory
seclists.org / fulldisclosure/2016/Dec/81
Mailing ListPatchThird Party Advisory
github.com / PHPMailer/PHPMailer/releases/tag/v5.2.20
PatchVendor Advisory
github.com / PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
PatchVendor Advisory
legalhackers.com / advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html
ExploitPatchThird Party Advisory
exploit-db.com / exploits/40969
ExploitThird Party AdvisoryVDB Entry
exploit-db.com / exploits/40986
Third Party AdvisoryVDB Entry
exploit-db.com / exploits/42221
Third Party AdvisoryVDB Entry
rapid7.com / db/modules/exploit/multi/http/phpmailer_arg_injection
ExploitThird Party Advisory
securityfocus.com / archive/1/539967/100/0/threaded
Third Party AdvisoryVDB Entry
securityfocus.com / bid/95130
ExploitThird Party AdvisoryVDB Entry
securitytracker.com / id/1037533
Third Party AdvisoryVDB Entry