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.
Published: 2026-07-14
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Symfony's Mime component validates and encodes the values of MIME header parameters but emits parameter names verbatim. If an attacker can influence a parameter name that is derived from untrusted input, they can inject CRLF or other non‑token characters. This allows the crafting of additional email headers in structured fields such as Content‑Type or Content‑Disposition. The flaw is categorized as CWE‑93 and can lead to arbitrary header manipulation in outbound mail, potentially bypassing security filters or altering the perceived origin of a message. The vulnerability exists only in Symfony versions prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, and has been fixed in those releases.

Affected Systems

Symfony applications that use the Symfony Mime component or the core framework and run any of the following versions are affected: Symfony 5.4.x prior to 5.4.52, Symfony 6.4.x prior to 6.4.40, Symfony 7.4.x prior to 7.4.12, and Symfony 8.0.x prior to 8.0.12. Any deployment that constructs MIME headers with a parameter name derived from user‑supplied data falls under this vulnerability.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score of less than 1% reflects a very low probability of real‑world exploitation at present, and the issue is not listed in CISA's KEV catalog. The likely attack vector involves an attacker controlling data that is incorporated into a MIME header parameter name. Since the vulnerability requires the attacker to supply such data, exploitation would occur when a malicious user provides a specially crafted parameter name, resulting in additional headers being injected into the email sent by the application. No publicly available exploits or proof‑of‑concepts have been reported.

Generated by OpenCVE AI on July 31, 2026 at 05:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Symfony Mime component and the core framework to at least 5.4.52 for Symfony 5, 6.4.40 for Symfony 6, 7.4.12 for Symfony 7, or 8.0.12 for Symfony 8.
  • Validate all data used to construct MIME header parameter names so that they contain only token characters and do not include CRLF or other control characters.
  • Conduct a code review and automated scan of email‑generation routines to locate any remaining injection points and enforce strict input validation.

Generated by OpenCVE AI on July 31, 2026 at 05:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vqc8-7275-q272 Symfony has Email Header Injection via Non-Token Characters in Mime Parameter Names
History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Symfony
Symfony mime
Symfony symfony
Vendors & Products Symfony
Symfony mime
Symfony symfony

Thu, 16 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title Symfony: Email Header Injection via Non-Token Characters in Mime Parameter Names
Weaknesses CWE-93
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-16T14:31:20.673Z

Reserved: 2026-05-08T18:45:10.096Z

Link: CVE-2026-45070

cve-icon Vulnrichment

Updated: 2026-07-16T14:31:15.742Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T06:00:16Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')