Vulnerability · Published Apr 28, 2021 · Assigned by mitre

CVE-2020-36326

Critical 9.8

In plain English

A critical-severity security flaw in the libphp-phpmailer package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.1%top 12.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libphp-phpmailer6.2.0-2DEBIAN-CVE-2020-36326
Debian:13libphp-phpmailer6.2.0-2DEBIAN-CVE-2020-36326
Debian:14libphp-phpmailer6.2.0-2DEBIAN-CVE-2020-36326
Packagistphpmailer/phpmailer6.4.1GHSA-m298-fh5c-jc66
Ubuntu:22.04:LTSlibphp-phpmailer6.2.0-2UBUNTU-CVE-2020-36326

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References