Description
symfony/validator is a module for the Symphony PHP framework which provides tools to validate values. It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`. Symfony as of versions 5.4.43, 6.4.11, and 7.1.4 now uses the `D` regex modifier to match the entire input. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| symfony | symfony | < 5.4.43, >= 6.0.0, < 6.4.11, >= 7.0.0, < 7.1.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | 6.4.11+dfsg-1 | — |
| Debian 13 | symfony | 6.4.11+dfsg-1 | — |
| Debian 12 | symfony | 5.4.23+dfsg-1+deb12u3 | DSA-5809-1 |
| Debian 11 | symfony | 4.4.19+dfsg-2+deb11u7 | DLA-4200-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | symfony | No fix yet | — |
| Ubuntu 25.10 | symfony | No fix yet | — |
| Ubuntu 16.04 LTS | symfony | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | symfony | 6.4.5+dfsg-3ubuntu3+esm1 | USN-7272-1 |
| Ubuntu Pro 22.04 LTS | symfony | 5.4.4+dfsg-1ubuntu8+esm1 | USN-7272-1 |
| Ubuntu Pro 20.04 LTS | symfony | 4.3.8+dfsg-1ubuntu1+esm2 | USN-7272-1 |
| Ubuntu Pro 18.04 LTS | symfony | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | symfony/symfony | < 5.4.43 | 5.4.43 | GHSA-g3rh-rrhp-jhh9 |
| Packagist | symfony/symfony | >= 6.0.0, < 6.4.11 | 6.4.11 | GHSA-g3rh-rrhp-jhh9 |
| Packagist | symfony/symfony | >= 7.0.0, < 7.1.4 | 7.1.4 | GHSA-g3rh-rrhp-jhh9 |
| Packagist | symfony/validator | < 5.4.43 | 5.4.43 | GHSA-g3rh-rrhp-jhh9 |
| Packagist | symfony/validator | >= 6.0.0, < 6.4.11 | 6.4.11 | GHSA-g3rh-rrhp-jhh9 |
| Packagist | symfony/validator | >= 7.0.0, < 7.1.4 | 7.1.4 | GHSA-g3rh-rrhp-jhh9 |
Advisories 3
- USN-7272-1 symfony vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5809-1 symfony - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4200-1 symfony - security update Debian Security (DSA / DLA) · Mar 9, 2026