CVE-2026-45070: Symfony: Email Header Injection via Non-Token Characters in Mime Parameter Names
Exploitation: None known · CVSS 6.3 Medium · Unauthenticated · Published 2026-07-14
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, Symfony\Component\Mime\Header\ParameterizedHeader validates and encodes parameter values but emits parameter names verbatim, allowing a caller that derives a parameter name from untrusted input to include CRLF or other non-token bytes and inject additional headers into rendered structured mail headers such as Content-Type or Content-Disposition. This issue is reported as fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| symfony | < 5.4.52 | Not listed |
| symfony | >= 6.0.0-BETA1, < 6.4.40 | Not listed |
| symfony | >= 7.0.0-BETA1, < 7.4.12 | Not listed |
| symfony | >= 8.0.0-BETA1, < 8.0.12 | Not listed |
| mime | < 5.4.52 | Not listed |
| mime | >= 6.0.0-BETA1, < 6.4.40 | Not listed |
| mime | >= 7.0.0-BETA1, < 7.4.12 | Not listed |
| mime | >= 8.0.0-BETA1, < 8.0.12 | Not listed |
Affected packages
- packagist:symfony/mime
- packagist:symfony/symfony