CVE Vulnerabilities

CVE-2026-45305

Inefficient Regular Expression Complexity

Published: Jul 14, 2026 | Modified: Jul 15, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, SymfonyComponentYamlParser::cleanup() used regular expressions with overlapping quantifiers for YAML directive, comment, and document marker cleanup, allowing crafted input to make parsing hang for an arbitrarily long time. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.

Weakness

The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Affected Software

NameVendorStart VersionEnd Version
SymfonySensiolabs*5.4.52 (excluding)
SymfonySensiolabs6.0.0 (including)6.4.40 (excluding)
SymfonySensiolabs7.0.0 (including)7.4.12 (excluding)
SymfonySensiolabs8.0.0 (including)8.0.12 (excluding)
SymfonyUbuntuquesting*
SymfonyUbuntuupstream*

Potential Mitigations

References