CRLF injection in PHPMailer - #VU173508

 

CRLF injection in PHPMailer - #VU173508

Published: December 4, 2026


Vulnerability identifier: #VU173508
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-93
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject arbitrary email headers, altering message metadata and potentially affecting downstream mail processing.

The vulnerability exists due to improper neutralization of CRLF sequences in PHPMailer::$Priority when generating the X-Priority header. A remote attacker can supply a crafted priority value to a host application that assigns remote input to the property without validation to insert an unintended message header.


Affected software

PHPMailer

Remediation

Install security update from vendor's website.

PHPMailer - update to 7.4.0

External References

Related Security Bulletins