Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-133755

CVE-2026-133755: Mailer Trusts Replies That a Man in the Middle Injects Right After STARTTLS

Symfony symfony/mailer

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133755: medium-severity vulnerability (CVSS 6.3) in Symfony symfony/mailer.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

Symfony symfony/mailer >= 7.3.0, < 7.4.24; Symfony symfony/mailer >= 8.0.0, < 8.1.12; Symfony symfony/symfony >= 7.3.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12

ProductVersionsFixed in
Symfony symfony/mailer>= 7.3.0, < 7.4.24—
Symfony symfony/mailer>= 8.0.0, < 8.1.12—
Symfony symfony/symfony>= 7.3.0, < 7.4.24—
Symfony symfony/symfony>= 8.0.0, < 8.1.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-924

Relevant change history

  1. Published

    Preliminary advisory published.