Skip to content
porro

Advisories  /  composer  /  symfony/symfony  /  CVE-2026-45070

MODERATE Composer

Symfony has Email Header Injection via Non-Token Characters in Mime Parameter Names (CVE-2026-45070)

CVE-2026-45070 GHSA-vqc8-7275-q272 Published 27 May 2026

Affects 2 packages. Each has a fixed release.

$ composer require symfony/symfony:^5.4.52
$ composer require symfony/symfony:^6.4.40
$ composer require symfony/symfony:^7.4.12
$ composer require symfony/symfony:^8.0.12
$ composer require symfony/mime:^5.4.55
$ composer require symfony/mime:^6.4.49

Which versions are affected

Package Affected Fixed in
symfony/symfony < 5.4.52≥ 6.0.0, < 6.4.40≥ 7.0.0, < 7.4.12≥ 8.0.0, < 8.0.12 5.4.526.4.407.4.128.0.12
symfony/mime ≥ 2.0.0, < 5.4.55≥ 6.0.0, < 6.4.49≥ 7.0.0, < 7.4.22≥ 8.0.0, < 8.1.10 5.4.556.4.497.4.228.1.10

Check a site from its project folder: composer show symfony/symfony shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Fixed in Ubuntu and Debian

A server that gets symfony/symfony from its distro gets the fix from the distro’s own packages. Install the update for the release it’s on:

DSA-6612-1 symfony - security update
Release Package Fixed in
Debian 13 (trixie) symfony 6.4.49+dfsg-0+deb13u1

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/symfony is safe from CVE-2026-45070?

8.0.12 and later. Versions affected: < 5.4.52, ≥ 6.0.0, < 6.4.40, ≥ 7.0.0, < 7.4.12, ≥ 8.0.0, < 8.0.12.

Which version of symfony/mime is safe from CVE-2026-45070?

8.1.10 and later. Versions affected: ≥ 2.0.0, < 5.4.55, ≥ 6.0.0, < 6.4.49, ≥ 7.0.0, < 7.4.22, ≥ 8.0.0, < 8.1.10.