Read the docs
TI-2016-08129 Aliases CVE-2016-10045GHSA-4pc3-96mx-wwc8

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass…

Priority CRITICAL 87CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

EPSS 0.97738 99th percentileScored 2026-11-07
Public exploit Yes 6 exploit referencesTagged by NVD and the CNA
Fix Fixed phpmailer/phpmailer (Packagist): 5.2.20

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phpmailer/phpmailer (Packagist)5.0.0 to before 5.2.205.2.20Patch availableGHSA-4pc3-96mx-wwc8
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpmailer/phpmailer (Packagist) Vendor— Affected 5.0.0 to before 5.2.20 Fixed in 5.2.20 Patch available GHSA-4pc3-96mx-wwc8

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*before 5.2.20VulnerablePhpmailer Project
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*up to 4.7VulnerableWordPress
cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:*1.5.0 – 3.6.5VulnerableJoomla!
  • cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* Versions before 5.2.20 Vulnerable ·Phpmailer Project
  • cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* Versions up to 4.7 Vulnerable ·WordPress
  • cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* Versions 1.5.0 – 3.6.5 Vulnerable ·Joomla!

Remediation

  • Fix · GHSA-4pc3-96mx-wwc8 phpmailer/phpmailer (Packagist) Fixed in 5.2.20 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-10045
  2. 2026-10-03 Alias added: GHSA-4pc3-96mx-wwc8

References

Sources