Skip to content
OpenAdvisories
High · 8.8 CVE-2018-19296 EUVD-2020-0340GHSA-7w4p-72j7-v7c2

Phar object injection in PHPMailer

Published Nov 16, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.

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 5.2.14+dfsg-2.4 —
Debian 13 libphp-phpmailer 5.2.14+dfsg-2.4 —
Debian 12 libphp-phpmailer 5.2.14+dfsg-2.4 —
Debian 9 libphp-phpmailer 5.2.14+dfsg-2.3+deb9u1 DSA-4351-1
Debian 8 libphp-phpmailer 5.2.9+dfsg-2+deb8u4 DLA-1591-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libphp-phpmailer 5.2.14+dfsg-2.3+deb9u1build0.18.04.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

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmailer/phpmailer >= 5.0.0, < 5.2.27 5.2.27 GHSA-7w4p-72j7-v7c2
Packagist phpmailer/phpmailer >= 6.0.0, < 6.0.6 6.0.6 GHSA-7w4p-72j7-v7c2

Advisories 3

References