Skip to content
OpenAdvisories
High · 7.5 CVE-2020-13625 BIT-phpmailer-2020-13625EUVD-2020-0422GHSA-f7hx-fqxw-rvvj

Insufficient output escaping of attachment names in PHPMailer

Published Jun 8, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libphp-phpmailer 6.1.6-1 —
Debian 13 libphp-phpmailer 6.1.6-1 —
Debian 12 libphp-phpmailer 6.1.6-1 —
Debian 9 libphp-phpmailer 5.2.14+dfsg-2.3+deb9u2 DLA-2306-1
Debian 8 libphp-phpmailer 5.2.9+dfsg-2+deb8u6 DLA-2244-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libphp-phpmailer 5.2.14+dfsg-2.3+deb9u2build0.18.04.1 USN-4505-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS libphp-phpmailer 6.2.0-2ubuntu0.1~esm1 USN-5956-1
Ubuntu Pro 20.04 LTS libphp-phpmailer 6.0.6-0.1ubuntu0.1~esm1 USN-5956-1
Ubuntu Pro 18.04 LTS libphp-phpmailer 5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1 USN-5956-1
Ubuntu Pro 16.04 LTS libphp-phpmailer 5.2.14+dfsg-1ubuntu0.1~esm1 USN-5956-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 cacti +1 1.2.13-bp151.4.12.1 openSUSE-SU-2020:1106-1
SUSE Package Hub 12 cacti 1.2.13-11.1 openSUSE-SU-2020:1060-1
SUSE Package Hub 12 cacti-spine 1.2.13-8.1 openSUSE-SU-2020:1060-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cacti 1.2.18-1.2 openSUSE-SU-2024:10670-1
openSUSE Leap 15.2 cacti 1.2.13-11.1 openSUSE-SU-2020:1060-1
openSUSE Leap 15.2 cacti-spine 1.2.13-8.1 openSUSE-SU-2020:1060-1
openSUSE Leap 15.1 cacti 1.2.13-11.1 openSUSE-SU-2020:1060-1
openSUSE Leap 15.1 cacti-spine 1.2.13-8.1 openSUSE-SU-2020:1060-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cacti 1.2.13-r0 —
Alpine v3.23 cacti 1.2.13-r0 —
Alpine v3.22 cacti 1.2.13-r0 —
Alpine v3.21 cacti 1.2.13-r0 —
Alpine v3.20 cacti 1.2.13-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cacti 1.2.13-r0 —
Alpine v3.18 cacti 1.2.13-r0 —
Alpine v3.17 cacti 1.2.13-r0 —
Alpine v3.16 cacti 1.2.13-r0 —
Alpine v3.15 cacti 1.2.13-r0 —
Alpine v3.14 cacti 1.2.13-r0 —
Alpine v3.13 cacti 1.2.13-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmailer/phpmailer < 6.1.6 6.1.6 GHSA-f7hx-fqxw-rvvj

Advisories 7

References