Skip to content
OpenAdvisories
Low CVE-2015-8476 EUVD-2020-0337GHSA-738m-f33v-qc2r

SMTP Injection in PHPMailer

Published Dec 16, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

Multiple CRLF injection vulnerabilities in PHPMailer before 5.2.14 allow attackers to inject arbitrary SMTP commands via CRLF sequences in an (1) email address to the validateAddress function in class.phpmailer.php or (2) SMTP command to the sendCommand function in class.smtp.php, a different vulnerability than CVE-2012-0796.

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-1 —
Debian 13 libphp-phpmailer 5.2.14+dfsg-1 —
Debian 12 libphp-phpmailer 5.2.14+dfsg-1 —
Debian 8 libphp-phpmailer 5.2.9+dfsg-2+deb8u1 DSA-3416-1
Debian 7 libphp-phpmailer 5.1-1.1 DSA-3416-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 libphp-phpmailer 5.1-1+deb6u11 DLA-363-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS libphp-phpmailer 5.1-1+deb6u11build0.14.04.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmailer/phpmailer >= 5.0.0, < 5.2.14 5.2.14 GHSA-738m-f33v-qc2r

Advisories 2

References