CVE-2016-10045

CRITICALNVD 9.89.8
EchelonGraph scoreLOW confidence

This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 98.0%, top 0% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Weaponized
9.8EG
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • 1,426 internet-exposed hosts are running an affected version right now
  • High exploitation likelihood — EPSS 98%
  • Public exploit code is available (Metasploit, epss top5pct, epss high, public exploit)
CISA-KEV: Not listedEPSS PROB: 98%CVSS: 9.8Exploit: Metasploit · epss top5pct · epss high · public exploitExposed: 1,426

A fix is available — apply it.

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.

Live · internet exposure

1,426 internet-exposed hosts are running an affected version of CVE-2016-10045 right now.

across 49 countries (United States, Germany, United Kingdom, Singapore, Australia)top: wordpress
See the live KEV-Exposure radar →Found passively from public internet-scan data — aggregate, host-redacted.

EchelonGraph is the only CVE feed that fuses live vulnerability intelligence with its own live internet-exposure radar — so you see not just that a CVE is exploited, but how much of the internet is exposed to it right now.

CVSS v3
9.8
EG Score
9.8(low)
EG Risk
88(Track*)
EG Risk 88/100SSVC: Track*

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation98% × 40%
Automatability30% × 15%
Action: Watch closely — could escalate to Attend.
EPSS PROB
98%
EPSS %ILE
100%
KEV
Not listed

Published

December 30, 2016

Last Modified

June 17, 2026

Advisory Details (10)

Auto-updated Sep 16, 2026
Patch available. Sources: github_release.
github_release Patch Available

PHPMailer 5.2.20

Patch available: PHPMailer/PHPMailer v5.2.20

https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20
generic

CVE-2016-10045 - PSIRT.COM

http://www.securityfocus.com/bid/95130
generic

PHPMailer Sendmail Argument Injection | Metasploit Module

http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
generic Patch Available

Full Disclosure: PHPMailer < 5.2.20 Remote Code Execution PoC 0day Exploit (CVE-2016-10045) (Bypass of the CVE-2016-1033 patch)

http://seclists.org/fulldisclosure/2016/Dec/81
generic

oss-security - Re: PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]

http://openwall.com/lists/oss-security/2016/12/28/1

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulibphp-phpmailer (6.0.6-0.1ubuntu0.1~esm1) @ focal2026-05-20ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(5 across 5 ecosystems)
Alpine:v3.2(1)
PackageVulnerable rangeFixed inDependents
php-phpmailer5.2.0-r05.2.4-r0
Alpine:v3.3(1)
PackageVulnerable rangeFixed inDependents
php-phpmailer5.2.0-r05.2.4-r0
Alpine:v3.4(1)
PackageVulnerable rangeFixed inDependents
php5-phpmailer5.2.0-r05.2.0-r1
Alpine:v3.5(1)
PackageVulnerable rangeFixed inDependents
php5-phpmailer5.2.0-r0, 5.2.4-r05.2.4-r1
Packagist(1)
PackageVulnerable rangeFixed inDependents
phpmailer/phpmailerv5.2.10 ... v5.2.9 (17 versions)5.2.20

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(1)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 3× in last 7d / 7× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-09-17 19:21 UTCEPSS rescore
  2. 2026-09-15 03:05 UTCEPSS rescore
  3. 2026-09-15 01:14 UTCOSV refresh
  4. 2026-09-10 09:26 UTCEPSS rescore
  5. 2026-09-06 13:42 UTCEPSS rescore
  6. 2026-08-27 01:00 UTCOSV refresh
  7. 2026-08-26 14:41 UTCEPSS rescore
  8. 2026-08-19 16:59 UTCEPSS rescore
  9. 2026-08-16 02:09 UTCEPSS rescore
  10. 2026-08-15 01:25 UTCEPSS rescore
  11. 2026-08-10 14:38 UTCOSV refresh
  12. 2026-08-08 16:32 UTCEPSS rescore
  13. 2026-08-06 13:42 UTCEPSS rescore
  14. 2026-08-05 19:12 UTCEPSS rescore
  15. 2026-07-30 01:26 UTCEPSS rescore
  16. 2026-07-30 01:26 UTCEPSS rescore
  17. 2026-07-28 15:31 UTCEPSS rescore
  18. 2026-07-25 15:30 UTCOSV refresh
  19. 2026-07-24 14:13 UTCEPSS rescore
  20. 2026-07-23 01:21 UTCEG score recompute
  21. 2026-07-23 00:22 UTCEG score recompute
  22. 2026-07-22 22:00 UTCEG score recompute
  23. 2026-07-15 16:54 UTCEPSS rescore
  24. 2026-07-15 16:54 UTCEPSS rescore
  25. 2026-07-09 19:05 UTCEPSS rescore
Show 33 more
  1. 2026-07-09 19:05 UTCEPSS rescore
  2. 2026-07-08 10:05 UTCOSV refresh
  3. 2026-07-07 13:42 UTCEPSS rescore
  4. 2026-07-07 13:42 UTCEPSS rescore
  5. 2026-07-04 06:28 UTCEPSS rescore
  6. 2026-06-19 22:06 UTCOSV refresh
  7. 2026-06-15 17:45 UTCEPSS rescore
  8. 2026-06-12 23:09 UTCEPSS rescore
  9. 2026-06-12 23:09 UTCEPSS rescore
  10. 2026-06-06 13:45 UTCEPSS rescore
  11. 2026-06-05 06:08 UTCEPSS rescore
  12. 2026-06-05 06:08 UTCEPSS rescore
  13. 2026-06-02 20:10 UTCEPSS rescore
  14. 2026-05-31 01:25 UTCOSV refresh
  15. 2026-05-27 13:38 UTCEPSS rescore
  16. 2026-05-27 13:38 UTCEPSS rescore
  17. 2026-05-26 07:16 UTCEPSS rescore
  18. 2026-05-26 07:16 UTCEPSS rescore
  19. 2026-05-22 21:15 UTCEPSS rescore
  20. 2026-05-21 22:40 UTCEPSS rescore
  21. 2026-05-20 10:17 UTCVendor advisory
  22. 2026-05-20 06:39 UTCVendor advisory
  23. 2026-05-20 03:01 UTCVendor advisory
  24. 2026-05-19 23:23 UTCVendor advisory
  25. 2026-05-19 19:44 UTCVendor advisory
  26. 2026-05-19 16:06 UTCVendor advisory
  27. 2026-05-19 12:22 UTCVendor advisory
  28. 2026-05-19 07:56 UTCVendor advisory
  29. 2026-05-19 04:18 UTCVendor advisory
  30. 2026-05-19 00:37 UTCEG score recompute
  31. 2026-05-19 00:37 UTCVendor advisory
  32. 2026-05-18 21:30 UTCEPSS rescore
  33. 2026-05-18 21:30 UTCEPSS rescore

Publicly available exploits

(4 references)

Working exploit code is in the public domain (1 Metasploit module) (3 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-42221
    First seen Jun 21, 2017

    PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution

    Open source ↗
  • Exploit-DBEDB-40986
    First seen Jan 2, 2017

    PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution

    Open source ↗
  • Exploit-DBEDB-40969
    First seen Dec 27, 2016

    PHPMailer < 5.2.20 - Remote Code Execution

    Open source ↗
  • Metasploitexploit/multi/http/phpmailer_arg_injection✓ verified
    First seen Dec 26, 2016

    PHPMailer Sendmail Argument Injection

    Open source ↗

Frequently asked(5)

What is CVE-2016-10045?
CVE-2016-10045 is a critical vulnerability published on December 30, 2016. 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:…
When was CVE-2016-10045 disclosed?
CVE-2016-10045 was first published in the National Vulnerability Database on December 30, 2016, with the most recent update on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2016-10045 actively exploited?
CVE-2016-10045 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 98% probability of exploitation in the next 30 days, which ranks it in the top 0.1% of all scored CVEs.
What is the CVSS score of CVE-2016-10045?
CVE-2016-10045 has a CVSS v3 base score of 9.8 (NVD). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2016-10045?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2016-10045, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2016-10045

Explore →

Is Your Infrastructure Affected by CVE-2016-10045?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.