ADVISORIES

Vulnerability

CVE-2024-50343

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.

6 advisories report this vulnerability, across 3 ecosystems.

Low severity All Debian 3Ubuntu 2Packagist 1

Advisories

  • DEBIAN-CVE-2024-50343

    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…

    CVE-2024-50343 Debian Updated 2 November 2026
  • DLA-4200-1

    symfony - security update

    CVE-2024-50343CVE-2024-50345 Debian Updated 20 November 2026
  • DSA-5809-1

    symfony - security update

    CVE-2024-50340CVE-2024-50342CVE-2024-50343CVE-2024-50345 Debian Updated 20 November 2026
  • GHSA-g3rh-rrhp-jhh9

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

    Low CVE-2024-50343 Packagist Updated 3 November 2025
  • UBUNTU-CVE-2024-50343

    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…

    CVE-2024-50343 Ubuntu Updated 20 May 2026
  • USN-7272-1

    symfony vulnerabilities

    CVE-2022-24894CVE-2022-24895CVE-2023-46734CVE-2024-50340 Ubuntu Updated 27 April 2026

References