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 when the server rejected the EHLO command, the transport fell back to HELO and skipped that check.
An attacker in the middle of an SMTP connection that uses STARTTLS could answer EHLO with an error and HELO with a success. The transport then sent the sender, the recipients and the whole message in cleartext, and reported success. No AUTH command is sent on that path, so credentials don't leak.
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.
When TLS is required and the connection isn't encrypted, the transport doesn't fall back to HELO anymore. It throws the same exception as when the server doesn't support STARTTLS.
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-133751 vendor-advisory
- GHSA-rxvg-83cq-mxm7 vendor-advisory
- https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0 patch