Improper Neutralization of Special Elements in Output Used by a Downstream Component in PHPMailer - #VU173504

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in PHPMailer - #VU173504

Published: December 4, 2026


Vulnerability identifier: #VU173504
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-74
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to make PHPMailer report a successful send even when the SMTP server rejects or never receives the message.

The vulnerability exists due to improper handling of buffered plaintext in PHPMailer's SMTP::startTLS() when upgrading an SMTP connection to TLS, allowing pre-upgrade data to be read as encrypted-session replies. A remote attacker can alter traffic on the network path to inject forged SMTP replies and conceal a failed send.


Affected software

PHPMailer

Remediation

Install security update from vendor's website.

PHPMailer - update to 7.4.0

External References

Related Security Bulletins