CVE-2020-36326

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability88. percentile3.1%
ProductPhpmailer
PublishedApr 28, 2021
First seenApr 28, 2021

How to fix

Update
  • wordpress wordpress3.7.36, 3.8.36, 3.9.34, 4.0.33, 4.1.33, 4.2.30, 4.3.26, 4.4.25, 4.5.24, 4.6.21, 4.7.21, 4.8.17, 4.9.18, 5.0.13, 5.1.10, 5.2.11, 5.3.8, 5.4.6, 5.5.5, 5.6.4, 5.7.2 or later
  • phpmailer/phpmailer6.4.1 or later

Affected products

ProductAffected versionsFixed in
phpmailer_project phpmailer6.1.8 ≤ v ≤ 6.4.0—
wordpress wordpress3.7 ≤ v < 3.7.36, 3.8 ≤ v < 3.8.36, 3.9 ≤ v < 3.9.34, 4.0 ≤ v < 4.0.33, 4.1 ≤ v < 4.1.33, 4.2 ≤ v < 4.2.30, 4.3 ≤ v < 4.3.26, 4.4 ≤ v < 4.4.25, 4.5 ≤ v < 4.5.24, 4.6 ≤ v < 4.6.21, 4.7 ≤ v < 4.7.21, 4.8 ≤ v < 4.8.17, 4.9 ≤ v < 4.9.18, 5.0 ≤ v < 5.0.13, 5.1 ≤ v < 5.1.10, 5.2 ≤ v < 5.2.11, 5.3 ≤ v < 5.3.8, 5.4 ≤ v < 5.4.6, 5.5 ≤ v < 5.5.5, 5.6 ≤ v < 5.6.4, 5.7 ≤ v < 5.7.23.7.36, 3.8.36, 3.9.34, 4.0.33, 4.1.33, 4.2.30, 4.3.26, 4.4.25, 4.5.24, 4.6.21, 4.7.21, 4.8.17, 4.9.18, 5.0.13, 5.1.10, 5.2.11, 5.3.8, 5.4.6, 5.5.5, 5.6.4, 5.7.2
phpmailer/phpmailerPackagist6.1.8 ≤ v < 6.4.16.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-36326 · Phpmailer · Dark Radar