Skip to content

CVE-2020-13625 Insufficient output escaping of attachment names in PHPMailer

HighCVSS 7.5 EPSS 3.8%
Published
Updated
Exploit status
No public exploit known
Technology
PHPUbuntuDebian

Description

PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.

Upgrade path

23 packages: 20 fixed.

PackageAffectedFixed inStatus
alpine/cacti(Alpine v3.13) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.14) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.15) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.16) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.17) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.18) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.19) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.20) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.21) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.22) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.23) < 1.2.13-r0 1.2.13-r0 Fixed
alpine/cacti(Alpine v3.24) < 1.2.13-r0 1.2.13-r0 Fixed
debian/libphp-phpmailer(Debian 12) < 6.1.6-1 6.1.6-1 Fixed
debian/libphp-phpmailer(Debian 13) < 6.1.6-1 6.1.6-1 Fixed
debian/libphp-phpmailer(Debian 14) < 6.1.6-1 6.1.6-1 Fixed
phpmailer project phpmailer < 6.1.6 6.1.6 Fixed
phpmailer/phpmailer(Packagist) < 6.1.6; = v5.2.2; = v5.2.4; = v5.2.5 +42 more 6.1.6 Fixed
ubuntu/libphp-phpmailer(Ubuntu 18.04) < 5.2.14+dfsg-2.3+deb9u2build0.18.04.1; = 5.2.14+dfsg-2.3; = 5.2.14+dfsg-2.3+deb9u1build0.18.04.1 5.2.14+dfsg-2.3+deb9u2build0.18.04.1 Fixed
ubuntu/libphp-phpmailer(Ubuntu Pro 16.04) < 5.2.14+dfsg-1ubuntu0.1~esm1; = 5.2.10+dfsg-1; = 5.2.14+dfsg-1; = 5.2.14+dfsg-1build1 5.2.14+dfsg-1ubuntu0.1~esm1 Fixed
ubuntu/libphp-phpmailer(Ubuntu Pro 20.04) < 6.0.6-0.1ubuntu0.1~esm1; = 6.0.6-0.1 6.0.6-0.1ubuntu0.1~esm1 Fixed
Canonical Ubuntu Linux = 18.04 No fix listed Versions listed
debian linux = 8.0; = 9.0 No fix listed Versions listed
fedoraproject fedora = 31; = 32 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
phpmailer/phpmailer(Packagist) < 6.1.6 6.1.6
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 51 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
debian/libphp-phpmailer(Debian:12) < 6.1.6-1 6.1.6-1
debian/libphp-phpmailer(Debian:14) < 6.1.6-1 6.1.6-1
debian/libphp-phpmailer(Debian:13) < 6.1.6-1 6.1.6-1
phpmailer project phpmailer < 6.1.6 6.1.6
fedoraproject fedora = 31 No fix listed
fedoraproject fedora = 32 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
alpine/cacti(Alpine:v3.13) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.14) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.15) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.16) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.17) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.18) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.19) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.20) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.21) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.22) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.23) < 1.2.13-r0 1.2.13-r0
alpine/cacti(Alpine:v3.24) < 1.2.13-r0 1.2.13-r0
ubuntu/libphp-phpmailer(Ubuntu:Pro:16.04) < 5.2.14+dfsg-1ubuntu0.1~esm1 5.2.14+dfsg-1ubuntu0.1~esm1
ubuntu/libphp-phpmailer(Ubuntu:Pro:16.04) = 5.2.10+dfsg-1 No fix listed
ubuntu/libphp-phpmailer(Ubuntu:Pro:16.04) = 5.2.14+dfsg-1 No fix listed
ubuntu/libphp-phpmailer(Ubuntu:Pro:16.04) = 5.2.14+dfsg-1build1 No fix listed
ubuntu/libphp-phpmailer(Ubuntu:18.04) < 5.2.14+dfsg-2.3+deb9u2build0.18.04.1 5.2.14+dfsg-2.3+deb9u2build0.18.04.1
ubuntu/libphp-phpmailer(Ubuntu:18.04) = 5.2.14+dfsg-2.3 No fix listed
ubuntu/libphp-phpmailer(Ubuntu:18.04) = 5.2.14+dfsg-2.3+deb9u1build0.18.04.1 No fix listed
ubuntu/libphp-phpmailer(Ubuntu:Pro:20.04) < 6.0.6-0.1ubuntu0.1~esm1 6.0.6-0.1ubuntu0.1~esm1
ubuntu/libphp-phpmailer(Ubuntu:Pro:20.04) = 6.0.6-0.1 No fix listed

References