CVE-2024-50343Incorrect response from Validator when input ends with `\n` in symfony/validator
- 3.1LowCVSS base score
- 0.46%Exploitation in 30 daysEPSS · top 60% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 15 days later
· 15 days later
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.1.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistsymfony/symfonyGHSA-g3rh-rrhp-jhh9 (opens in a new tab)
- Packagistsymfony/validatorGHSA-g3rh-rrhp-jhh9 (opens in a new tab)
References
References3
- https://github.com/symfony/symfony/security/advisories/GHSA-g3rh-rrhp-jhh9 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f (opens in a new tab)x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-3249 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g3rh-rrhp-jhh9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50343)Record last updated .