Skip to main content
← All vulnerabilities
CVE-2020-36326GHSA-M298-FH5C-JC66BIT-PHPMAILER-2020-36326BIT-WORDPRESS-2020-36326BIT-WORDPRESS-MULTISITE-2020-36326

PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.1
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • phpmailer/phpmailerPackagist

    From 6.1.8 · fixed in 6.4.1

References 3

GitHub · PHPMailer/PHPMailer

lists.fedoraproject.org