CVE-2020-36326: phpmailer_project phpmailer Deserialization of Untrusted Data
Vulnerability summary
CVE-2020-36326 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in phpmailer_project phpmailer. EPSS estimates a 3.09% chance of exploitation in the next 30 days, higher than 87.5% of scored vulnerabilities.
Timeline
- 28-04-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.09%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
0.00 pp
From 3.09% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libphp-phpmailer< 6.2.0-2
Phpmailer_project1 product
- phpmailer≥ 6.1.8, ≤ 6.4.0
Ubuntu1 product
- libphp-phpmailer< 6.2.0-2
Wordpress1 product
- wordpress≥ 3.7, < 3.7.36 | ≥ 3.8, < 3.8.36 | ≥ 3.9, < 3.9.34 | ≥ 4.0, < 4.0.33 | ≥ 4.1, < 4.1.33 | ≥ 4.2, < 4.2.30 | ≥ 4.3, < 4.3.26 | ≥ 4.4, < 4.4.25 | ≥ 4.5, < 4.5.24 | ≥ 4.6, < 4.6.21 | ≥ 4.7, < 4.7.21 | ≥ 4.8, < 4.8.17 | ≥ 4.9, < 4.9.18 | ≥ 5.0, < 5.0.13 | ≥ 5.1, < 5.1.10 | ≥ 5.2, < 5.2.11 | ≥ 5.3, < 5.3.8 | ≥ 5.4, < 5.4.6 | ≥ 5.5, < 5.5.5 | ≥ 5.6, < 5.6.4 | ≥ 5.7, < 5.7.2
4 vendors · 4 products
References
6 links- github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9X Refsource MISCREPORTPatchThird Party Advisory