CRLF injection in PHPMailer - #VU173507

 

CRLF injection in PHPMailer - #VU173507

Published: December 4, 2026


Vulnerability identifier: #VU173507
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 unintended email headers that alter message metadata and may affect downstream processing.

The vulnerability exists due to improper neutralization of carriage returns and line feeds in PHPMailer's DKIM_Add() function when constructing the DKIM-Signature header. A remote attacker can abuse control over any one of the DKIM domain, selector, or identity settings in a host application with DKIM signing enabled to inject unintended email headers.


Affected software

PHPMailer

Remediation

Install security update from vendor's website.

PHPMailer - update to 7.4.0

External References

Related Security Bulletins