Dežurni tim za incidente, 0–24: +385 98 1900 984NovoIR Retainer: tim ugovoren prije napada
HR · EN
Visoka 8.7CVE-2026-134791

Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process

Objavljeno 25. 11. 2026. · Ažurirano 25. 11. 2026. · symfony/expression-language

Izvorni opis (engleski)

Za ovu ranjivost još nema našeg sažetka. Prikazujemo službeni opis proizvođača.

Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints. The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.

Zahvaćeni proizvodi i verzije

Symfony symfony/expression-language7.2.0 – < 7.4.24 · 8.0.0 – < 8.1.12Ispravljeno u: 7.4.24 · 8.1.12
Symfony symfony/symfony7.2.0 – < 7.4.24 · 8.0.0 – < 8.1.12Ispravljeno u: 7.4.24 · 8.1.12

CVSS vektor, objašnjeno

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Put napada
Preko mreže (s interneta)
Složenost napada
Niska
Preduvjeti napada
Nema posebnih
Potrebne ovlasti
Bez prijave
Interakcija korisnika
Nije potrebna
Povjerljivost
Bez utjecaja
Integritet
Bez utjecaja
Dostupnost
Visok utjecaj

Vrsta slabosti (CWE)

  • CWE-407 Inefficient Algorithmic Complexity

Reference

Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Sažetke piše AI uz pregled pravila; uvijek provjerite službenu objavu proizvođača.