Symfony Mailer accepts injected replies right after STARTTLS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The symfony/mailer and symfony/symfony packages from 7.3.0 before 7.4.24 and from 8.0.0 before 8.1.12 start TLS after a STARTTLS reply without checking for data already received (CWE-924). A man-in-the-middle attacker can inject cleartext replies after the 220 reply, which the transport reads as encrypted, so it may skip AUTH or report a rejected message as sent. Implicit TLS connections (smtps:// or port 465) are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade symfony/mailer and symfony/symfony to 7.4.24 for the 7.x line or to 8.1.12 for the 8.x line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA symfony/mailer (Symfony) Fixed in 7.4.24, 8.1.12
- Fix · CNA symfony/symfony (Symfony) Fixed in 7.4.24, 8.1.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
symfony/symfony 7.4.24, 8.1.12
7 records Highest priority Priority LOW 7 LOW
Other records, highest priority first
- TI-2026-98152 Unclosed comments make Symfony ExpressionLanguage lexer quadraticPriority LOW 39
- TI-2026-98139 Symfony Mailer require_tls check is skipped on HELO fallbackPriority LOW 29
- TI-2026-98132 JsonPath Queries Hold the Process Through Duplicated Nodes and Repeated WorkPriority LOW 29
- Release ·
symfony/mailer 7.4.24, 8.1.12
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-98139 Symfony Mailer require_tls check is skipped on HELO fallbackPriority LOW 29
Timeline
- 2026-11-25 Threatist record created from CVE-2026-133755
- 2026-11-25 CISA SSVC decision points changed
References
More symfony vulnerabilities
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences