CVE-2024-50343: Symfony has an incorrect response from Validator when input ends with `\n`

low Affects symfony/symfony, symfony/validator. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

Symfony has an incorrect response from Validator when input ends with `\n`

Package
symfony/symfony Composer
Affected versions
<5.4.43 or >=6.0.0 and <6.4.11 or >=7.0.0 and <7.1.4 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.43 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.11 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.1.4
Fixed in
5.4.43, 6.4.11, 7.1.4
Severity
low  CVSS 3.1
Exploitation
not on CISA KEV · EPSS 0% (39.4th percentile)
Published
2024-11-06
Source
osv.dev

References

Symfony has an incorrect response from Validator when input ends with `\n`

Package
symfony/validator Composer
Affected versions
<5.4.43 or >=6.0.0 and <6.4.11 or >=7.0.0 and <7.1.4 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.43 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.11 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.1.4
Fixed in
5.4.43, 6.4.11, 7.1.4
Severity
low  CVSS 3.1
Exploitation
not on CISA KEV · EPSS 0% (39.4th percentile)
Published
2024-11-06
Source
osv.dev

References

CWE-20
NVD recordsymfony/symfony advisoriessymfony/validator advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories