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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Symfony | symfony/mailer | 7.3.0 – < 7.4.24, 8.0.0 – < 8.1.12 | 7.4.24 |
| Symfony | symfony/symfony | 7.3.0 – < 7.4.24, 8.0.0 – < 8.1.12 | 7.4.24 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | symfony | No fix yet | — |
| Ubuntu 26.04 LTS | symfony | No fix yet | — |
| Ubuntu 16.04 LTS | symfony | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 22.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 20.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 18.04 LTS | symfony | No fix yet | — |
References
- CVE-2026-133755 vendor-advisory
- GHSA-c6x5-258c-g3f5 vendor-advisory
- https://github.com/symfony/symfony/commit/426b0f4c90daf0a16ee4fa41a8fd19005bb172ec patch