1. Accueil
  2. Vulnérabilités
  3. CVE-2026-133760

CVE-2026-133760

Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It

Publiée le 25 nov. 2026 · modifiée le 30 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 48/100

Résumé

The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds a ?: b with the node of a used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing. The expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too. The nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Symfony (8 ligne(s))
Symfony
ProduitVersionsCorrigé dansSource
symfony/expression-language de 5.4.54 (inclus) à 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/expression-language de 6.4.48 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/expression-language de 7.4.21 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/expression-language de 8.1.9 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 5.4.54 (inclus) à 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 6.4.48 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 7.4.21 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 8.1.9 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)

Correctif

Mise à jour — 5.4.57, 6.4.51, 7.4.24, 8.1.12source officielle

Source : CERT-FR · Ouvrir

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1619)
  2. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
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 (CVSS 4.0, CNA:Symfony)
Faiblesse
CWE-407 · Autre (CWE-407)

Comment sont obtenues et calculées ces données