Improper Enforcement of Message Integrity During Transmission in a Communication Channel Affecting symfony/mailer package, versions >=7.3, <7.4.24>=8.0.0, <8.1.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYMAILER-23188894
  • published1 Dec 2026
  • disclosed25 Nov 2026
  • creditUnknown

Introduced: 25 Nov 2026

NewCVE-2026-133755  (opens in a new tab)
CWE-924  (opens in a new tab)

How to fix?

Upgrade symfony/mailer to version 7.4.24, 8.1.12 or higher.

Overview

Affected versions of this package are vulnerable to Improper Enforcement of Message Integrity During Transmission in a Communication Channel via EsmtpTransport in the STARTTLS negotiation flow, where after receiving the server's 220 reply to STARTTLS, the transport begins the TLS handshake without checking whether additional data has already arrived on the connection. A MitM attacker can inject cleartext replies immediately after the 220, which the transport then reads as if they originated from the encrypted session. This allows the attacker to cause the transport to skip AUTH or to report a message as successfully sent when the server has actually rejected it.

Note: This is only exploitable when the require_tls option is enabled on EsmtpTransport, or when using ses+smtp:// DSNs on Symfony 8.1+ (where require_tls is enabled by default on ports other than 465 and 2465). Connections using implicit TLS (smtps:// or port 465) are not affected.

CVSS Base Scores

version 4.0
version 3.1