cbcvebase.
CVE-2020-36326
published 2021-04-28

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…

PriorityP351critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.09%
86.1th percentile
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

24 ranges
VendorProductVersion rangeFixed in
debianlibphp-phpmailer< libphp-phpmailer 6.2.0-2 (bookworm)libphp-phpmailer 6.2.0-2 (bookworm)
phpmailerphpmailer>= 6.1.8 < 6.4.16.4.1
phpmailer_projectphpmailer6.1.8 – 6.4.0
wordpresswordpress>= 3.7 < 3.7.363.7.36
wordpresswordpress>= 3.8 < 3.8.363.8.36
wordpresswordpress>= 3.9 < 3.9.343.9.34
wordpresswordpress>= 4.0 < 4.0.334.0.33
wordpresswordpress>= 4.1 < 4.1.334.1.33
wordpresswordpress>= 4.2 < 4.2.304.2.30
wordpresswordpress>= 4.3 < 4.3.264.3.26
wordpresswordpress>= 4.4 < 4.4.254.4.25
wordpresswordpress>= 4.5 < 4.5.244.5.24
wordpresswordpress>= 4.6 < 4.6.214.6.21
wordpresswordpress>= 4.7 < 4.7.214.7.21
wordpresswordpress>= 4.8 < 4.8.174.8.17
wordpresswordpress>= 4.9 < 4.9.184.9.18
wordpresswordpress>= 5.0 < 5.0.135.0.13
wordpresswordpress>= 5.1 < 5.1.105.1.10
wordpresswordpress>= 5.2 < 5.2.115.2.11
wordpresswordpress>= 5.3 < 5.3.85.3.8
wordpresswordpress>= 5.4 < 5.4.65.4.6
wordpresswordpress>= 5.5 < 5.5.55.5.5
wordpresswordpress>= 5.6 < 5.6.45.6.4
wordpresswordpress>= 5.7 < 5.7.25.7.2

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
ghsa8.8HIGH
osv8.8HIGH
vendor_debian8.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.