{"id":"CVE-2026-45067","published":"2026-07-14T17:41:53Z","modified":"2026-07-14T18:15:43Z","title":"Symfony: Email Header / SMTP Command Injection via CRLF in Symfony\\Component\\Mime\\Address","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"### Description\n\n`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.\n\nThe 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.\n\n### Resolution\n\nThe `Address` constructor now rejects addresses containing line breaks.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/dc2dbd29211eb4ddc451373fa1374fb926e94604) for branch 5.4.\n\n### Credits\n\nWe would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00598,"percentile":0.42642,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-qpmx-3rfj-7rhv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/a1c42cbe517bc146a54da7505a107ded317478fe","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":8.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-09","earliestUrl":"https://github.com/HORKimhab/CVE-2026-45067","repos":[{"name":"HORKimhab/CVE-2026-45067","url":"https://github.com/HORKimhab/CVE-2026-45067","stars":0,"created":"2026-06-09"}]},"first":{"date":"2026-06-09","source":"PoC-in-GitHub","url":"https://github.com/HORKimhab/CVE-2026-45067"},"provenance":"source"},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-14T18:15:37.710176Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/mime","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-qpmx-3rfj-7rhv"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-qpmx-3rfj-7rhv"],"provenance":"source"}],"summary":{"text":"The flaw is a CRLF injection in the Symfony Mime component's Address class (Symfony\\Component\\Mime\\Address), which Symfony Mailer uses for all message recipient and sender addresses. The constructor accepts quoted-string local-parts containing raw line breaks, and those values are later written unescaped into message headers and SMTP MAIL FROM/RCPT TO commands. An unauthenticated remote attacker who can influence an address value passed to Address can inject additional mail headers or SMTP commands over the network, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:46Z"},"euvd":{"id":"EUVD-2026-44322","exploited":false,"provenance":"source"}}