{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133755","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.158Z","datePublished":"2026-11-25T10:00:14.850Z","dateUpdated":"2026-11-25T10:00:14.850Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:00:14.850Z"},"title":"Mailer Trusts Replies That a Man in the Middle Injects Right After STARTTLS","datePublic":"2026-11-25T09:36:24.000Z","descriptions":[{"lang":"en","value":"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.\n\nAn 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.\n\nConnections 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.\n\nThe transport now refuses to start TLS when the server sends data right after its answer to STARTTLS, and throws a TransportException instead.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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.\n\nAn 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.\n\nConnections 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.\n\nThe transport now refuses to start TLS when the server sends data right after its answer to `STARTTLS`, and throws a `TransportException` instead."}]}],"affected":[{"vendor":"Symfony","product":"symfony/mailer","collectionURL":"https://packagist.org","packageName":"symfony/mailer","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.3.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.3.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-924","description":"CWE-924 Improper Enforcement of Message Integrity During Transmission in a Communication Channel","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133755","name":"CVE-2026-133755","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-c6x5-258c-g3f5","name":"GHSA-c6x5-258c-g3f5","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/426b0f4c90daf0a16ee4fa41a8fd19005bb172ec","tags":["patch"]}],"credits":[{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"}],"source":{"advisory":"GHSA-c6x5-258c-g3f5","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}