CVE-2026-133755

Mailer Trusts Replies That a Man in the Middle Injects Right After STARTTLS

Published Nov 25, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
Since Symfony 7.3, the require_tls option of EsmtpTransport refuses to send a message over a connection that isn't encrypted. It prevents a network attacker from stripping STARTTLS. But after the server's 220 reply to STARTTLS, the transport started the TLS handshake without checking whether more data had already arrived.

An attacker in the middle of the connection could add cleartext replies right after the 220. The transport then read them as if they came from the encrypted session. The attacker could make the transport skip AUTH, or report a message as sent while the server had rejected it.

Connections that use implicit TLS, with smtps:// or port 465, are not affected. Since Symfony 8.1, the Amazon SES SMTP transport enables require_tls by default on ports other than 465 and 2465. So ses+smtp:// DSNs are affected without setting the option.

The transport now refuses to start TLS when the server sends data right after its answer to STARTTLS, and throws a TransportException instead.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Since Symfony 7.3, the require_tls option of EsmtpTransport refuses to send a message over a connection that isn't encrypted. It prevents a network attacker from stripping STARTTLS. But after the server's 220 reply to STARTTLS, the transport started the TLS handshake without checking whether more data had already arrived. An attacker in the middle of the connection could add cleartext replies right after the 220. The transport then read them as if they came from the encrypted session. The attacker could make the transport skip AUTH, or report a message as sent while the server had rejected it. Connections that use implicit TLS, with smtps:// or port 465, are not affected. Since Symfony 8.1, the Amazon SES SMTP transport enables require_tls by default on ports other than 465 and 2465. So ses+smtp:// DSNs are affected without setting the option. The transport now refuses to start TLS when the server sends data right after its answer to STARTTLS, and throws a TransportException instead.
Title Mailer Trusts Replies That a Man in the Middle Injects Right After STARTTLS
Weaknesses CWE-924
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-924

    Improper Enforcement of Message Integrity During Transmission in a Communication Channel

Sources

Status
PUBLISHED
Assigner
Symfony
Published
Updated
Nov 25, 2026, 10:00 AM
Reserved
Nov 20, 2026, 2:01 PM
Status
Received
Published
Nov 25, 2026, 10:17 AM
Modified
Nov 25, 2026, 10:17 AM