Skip to content

CVE-2021-34551 Remote Code Execution vulnerability in PHPMailer 6.4.1 running on Windows

HighCVSS 8.1 EPSS 2.8% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
PHPDebian

Description

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
phpmailer project phpmailer < 6.5.0 6.5.0 Fixed
phpmailer/phpmailer(Packagist) < 6.5.0; = v5.2.2; = v5.2.4; = v5.2.5 +49 more 6.5.0 Fixed
fedoraproject fedora = 33; = 34 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
phpmailer/phpmailer(Packagist) < 6.5.0 6.5.0
phpmailer/phpmailer(Packagist) = v5.2.10 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.11 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.12 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.13 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.14 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.15 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.16 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.17 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.18 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.19 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.2 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.20 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.21 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.22 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.23 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.24 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.25 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.26 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.27 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.28 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.4 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.5 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.6 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.7 No fix listed
Show 31 more
ProductAffected versionsFixed in
phpmailer/phpmailer(Packagist) = v5.2.8 No fix listed
phpmailer/phpmailer(Packagist) = v5.2.9 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0rc1 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0rc2 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0rc3 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0rc4 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.0rc5 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.1 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.2 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.3 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.4 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.5 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.6 No fix listed
phpmailer/phpmailer(Packagist) = v6.0.7 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.0 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.1 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.2 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.3 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.4 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.5 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.6 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.7 No fix listed
phpmailer/phpmailer(Packagist) = v6.1.8 No fix listed
phpmailer/phpmailer(Packagist) = v6.2.0 No fix listed
phpmailer/phpmailer(Packagist) = v6.3.0 No fix listed
phpmailer/phpmailer(Packagist) = v6.4.0 No fix listed
phpmailer/phpmailer(Packagist) = v6.4.1 No fix listed
phpmailer project phpmailer < 6.5.0 6.5.0
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed

References