Critical severityNVD Advisory· Published Apr 28, 2021· Updated Aug 4, 2024
CVE-2020-36326
CVE-2020-36326
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
phpmailer/phpmailerPackagist | >= 6.1.8, < 6.4.1 | 6.4.1 |
Affected products
5- PHPMailer/PHPMailerdescription
- osv-coords4 versionspkg:bitnami/phpmailerpkg:bitnami/wordpresspkg:bitnami/wordpress-multisitepkg:composer/phpmailer/phpmailer
>= 6.1.8, < 6.4.1+ 3 more
- (no CPE)range: >= 6.1.8, < 6.4.1
- (no CPE)range: >= 3.7.0, < 3.7.36
- (no CPE)range: >= 3.7.0, < 3.7.36
- (no CPE)range: >= 6.1.8, < 6.4.1
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-m298-fh5c-jc66ghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/mitrevendor-advisoryx_refsource_FEDORA
- nvd.nist.gov/vuln/detail/CVE-2020-36326ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2020-36326.yamlghsaWEB
- github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9ghsax_refsource_MISCWEB
- github.com/PHPMailer/PHPMailer/releases/tag/v6.4.1ghsaWEB
- github.com/PHPMailer/PHPMailer/security/advisories/GHSA-m298-fh5c-jc66ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5BghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVTghsaWEB
News mentions
0No linked articles in our index yet.