Read the docs
TI-2020-18609 Aliases CVE-2020-36326GHSA-m298-fh5c-jc66

PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via…

Priority MEDIUM 48CWE-502Published · 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-502.

Summary

PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.

Why it matters now

EPSS 0.03095 87th percentileScored 2026-11-07
Fix Fixed phpmailer/phpmailer (Packagist): 6.4.1

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)6.1.8 to before 6.4.16.4.1Patch availableGHSA-m298-fh5c-jc66
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpmailer/phpmailer (Packagist) Vendor— Affected 6.1.8 to before 6.4.1 Fixed in 6.4.1 Patch available GHSA-m298-fh5c-jc66

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*6.1.8 – 6.4.0VulnerablePhpmailer Project
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*3.7 to before 3.7.36; 3.8 to before 3.8.36; 3.9 to before 3.9.34; 4.0 to before 4.0.33; 4.1 to before 4.1.33; 4.2 to before 4.2.30; 4.3 to before 4.3.26; 4.4 to before 4.4.25; 4.5 to before 4.5.24; 4.6 to before 4.6.21; 4.7 to before 4.7.21; 4.8 to before 4.8.17; 4.9 to before 4.9.18; 5.0 to before 5.0.13; 5.1 to before 5.1.10; 5.2 to before 5.2.11; 5.3 to before 5.3.8; 5.4 to before 5.4.6; 5.5 to before 5.5.5; 5.6 to before 5.6.4; 5.7 to before 5.7.2VulnerableWordPress
  • cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* Versions 6.1.8 – 6.4.0 Vulnerable ·Phpmailer Project
  • cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* Versions 3.7 to before 3.7.36; 3.8 to before 3.8.36; 3.9 to before 3.9.34; 4.0 to before 4.0.33; 4.1 to before 4.1.33; 4.2 to before 4.2.30; 4.3 to before 4.3.26; 4.4 to before 4.4.25; 4.5 to before 4.5.24; 4.6 to before 4.6.21; 4.7 to before 4.7.21; 4.8 to before 4.8.17; 4.9 to before 4.9.18; 5.0 to before 5.0.13; 5.1 to before 5.1.10; 5.2 to before 5.2.11; 5.3 to before 5.3.8; 5.4 to before 5.4.6; 5.5 to before 5.5.5; 5.6 to before 5.6.4; 5.7 to before 5.7.2 Vulnerable ·WordPress

Remediation

  • Fix · GHSA-m298-fh5c-jc66 phpmailer/phpmailer (Packagist) Fixed in 6.4.1 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-2020-36326
  2. 2026-10-03 Alias added: GHSA-m298-fh5c-jc66

References

Sources