All vulnerabilities

Servers and applications

CVE-2026-45070

Email Header Injection via Non-Token Characters in Mime Parameter Names

Severity
Medium
Published
20 May 2026
Last changed
5 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.4.55, 6.4.49, 7.4.22, 8.1.10
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CRLF injection (CWE-93)
Also known as
GHSA-vqc8-7275-q272
Sources
Project advisories (GitHub)

Description

Symfony\Component\Mime\Header\ParameterizedHeader (and the related parameter handling reachable from Symfony\Component\Mime\Header\Headers) is responsible for serializing structured headers such as Content-Type and Content-Disposition, which carry key=value parameters (e.g. Content-Disposition: attachment; filename="x").

RFC 2045 / RFC 5322 require parameter names to be tokens: a restricted ASCII subset that excludes whitespace, CR/LF, and the tspecials set. Symfony's parameter handling validates and properly encodes parameter values, but does not validate parameter names: the supplied name is emitted verbatim into the serialized header.

A caller that derives a parameter name from untrusted input, e.g. an application that lets a user influence a Content-Disposition parameter name, can include \r\n or other non-token bytes inside the name, terminating the current header and injecting additional headers in the rendered message.

From symfony/symfony's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • Every version before 5.4.55
  • From 6 before 6.4.49
  • From 7 before 7.4.22
  • From 8 before 8.1.10

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
321,952Packagist, 15 Nov 2026
Total downloads (Packagist)
88,437,595Packagist, 15 Nov 2026
GitHub stars
31,439GitHub, 15 Nov 2026
Forks
9,949GitHub, 15 Nov 2026
Latest release
v8.2.0-BETA2GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Developer
SensioLabsWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
22 Oct 2005Wikidata
First published on GitHub
4 Jan 2010GitHub

Release lines

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

References