CVE-2020-36326

Published Apr 28, 2021 CVSS 3.1 · 9.8 Critical EPSS 3.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2731-1 wordpress security update
EUVD EUVD EUVD-2021-1129 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.
Github GHSA Github GHSA GHSA-m298-fh5c-jc66 Object injection in PHPMailer/PHPMailer
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:23 PM
Reserved
Apr 28, 2021, 12:00 AM
Status
Modified
Published
Apr 28, 2021, 3:15 AM
Modified
Jun 17, 2026, 3:15 AM