ADVISORIES

Vulnerability

CVE-2020-36326

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.

3 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Debian 1Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2020-36326

    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…

    CVE-2020-36326 Debian Updated 26 October 2026
  • GHSA-m298-fh5c-jc66

    Object injection in PHPMailer/PHPMailer

    Critical CVE-2020-36326 Packagist Updated 21 July 2026
  • UBUNTU-CVE-2020-36326

    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…

    CVE-2020-36326 Ubuntu Updated 16 July 2025

References