CVE-2024-50343 - CVE House
Back to Database
Status published Low CVE-2024-50343

Incorrect response from Validator when input ends with `\n` in symfony/validator

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-50343

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

symfony
Vulnerable Versions:
< 5.4.43, >= 6.0.0, < 6.4.11, >= 7.0.0, < 7.1.4

Timeline

Official Publish: November 6th, 2024
Last Modified: November 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Weaknesses (CWE)