# CVE-2026-45067: Symfony: Email Header / SMTP Command Injection via CRLF in Symfony\Component\Mime\Address

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-05-27T20:42:07.000Z
- Modified: 2026-09-10T03:50:47.380Z
- Also known as: GHSA-qpmx-3rfj-7rhv
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

### 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](https://github.com/symfony/symfony/commit/dc2dbd29211eb4ddc451373fa1374fb926e94604) for branch 5.4.

### Credits

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

(As written by CVE List.)

## Affected

- symfony symfony: < 5.4.52; >= 6.0.0-BETA1, < 6.4.40; >= 7.0.0-BETA1, < 7.4.12; >= 8.0.0-BETA1, < 8.0.12
- symfony/mime (Packagist): before 5.4.52; from 6.0.0 before 6.4.40; from 7.0.0 before 7.4.12; from 8.0.0 before 8.0.12
- symfony/symfony (Packagist): before 5.4.52; from 6.0.0 before 6.4.40; from 7.0.0 before 7.4.12; from 8.0.0 before 8.0.12

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-qpmx-3rfj-7rhv> (web)
- <https://github.com/symfony/symfony/commit/a1c42cbe517bc146a54da7505a107ded317478fe>
- <https://github.com/symfony/symfony/releases/tag/v5.4.52>
- <https://github.com/symfony/symfony/releases/tag/v6.4.40>
- <https://github.com/symfony/symfony/releases/tag/v7.4.12>
- <https://github.com/symfony/symfony/releases/tag/v8.0.12>
- <https://github.com/symfony/symfony/commit/dc2dbd29211eb4ddc451373fa1374fb926e94604> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/mime/CVE-2026-45067.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45067.yaml> (web)
- <https://github.com/symfony/symfony> (package)
- <https://symfony.com/cve-2026-45067> (web)

## Sources

- CVE List: [CVE-2026-45067](https://www.cve.org/CVERecord?id=CVE-2026-45067), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-qpmx-3rfj-7rhv](https://github.com/advisories/GHSA-qpmx-3rfj-7rhv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45067](https://nvd.nist.gov/vuln/detail/CVE-2026-45067), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-45067 · Whole record: https://cve.day/CVE-2026-45067.json · Rebuilt by cve.day 2026-11-25T22:59:28.003Z
