nday
CVE-2026-133744 GHSA-9624-f7p7-fwvr

JsonPath Queries Can Still Hold a Process Through Duplicated Nodes and Repeated Work: Incomplete Fix for CVE-2026-135804

Symfony / symfony/json-path, symfony/symfony

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-400, stated by the CNA SymfonyCWE-407, stated by the CNA Symfony
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA Symfony
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA Symfony
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA Symfony
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA Symfony
Symfony
affected products in the CVE record: Symfony · symfony/json-path, Symfony · symfony/symfony
open-source library / framework
affected products in the CVE record: Symfony · symfony/json-path, Symfony · symfony/symfonythe product type of Symfony in nday's product registry
étape actuelle
DIS
divulgation
CVSS
6.3 MEDIUM v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-25T10:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

The fixes for CVE-2026-135804 (GHSA-cpww-5vpx-72x7) bound the regex work of a JsonCrawler::find() call, and evaluate filters and absolute queries once per call. Chained recursive descent isn't bounded. Each ..* segment takes the descendants of every node selected so far. A node nested in other selected nodes is counted once per such ancestor. So the size of the node list is a power of the depth, one power per segment. RFC 9535 allows these duplicates.

$document = 'null';
for ($i = 0; $i < 40; ++$i) {
    $document = '{"a":'.$document.',"b":1}';
}

// 484 bytes
(new JsonCrawler($document))->find('$..*..*..*');    // 19760 nodes, 0.42 s, 35 MB

(new JsonCrawler($document))->find('$..*..*..*..*'); // 182780 nodes, 77 s, 256 MB

Each additional ..* multiplies the time and the memory. Other queries hold the process the same way, because work that doesn't depend on the node is repeated for each node. Unions that repeat a selector, like $[0,0,0,0,0][0,0,0,0,0], multiply the node list at each segment. Every filter operand is parsed again for each node, and nested function calls like length(length(...(@.a)...)) are scanned again at each level. Operands that don't refer to @, like length($.text) or $ == $, are computed again for each node. And a query of a few megabytes exhausts the memory before it's even parsed. A 3 KB query took 10 s on an 801-byte document, and the 8-byte $[?$==$] took 11.5 s on an 80 KB document.

The threat model is the one of CVE-2026-135804, where an application runs a query chosen by the client on its own document. A short query is enough to hold the process when the document is nested a few dozen levels deep. A larger document needs less nesting.

JsonCrawler::find() now builds node lists in linear time, and bounds the work of one call. The budget is 100,000 nodes, plus 32 for each value of the decoded document once the first 100,000 are spent. The selected nodes count, and so do the children that brackets and descents look at. Filter operands and their parts, deep comparisons and regular expressions count too. A query that needs more throws a JsonCrawlerException, also inside an existence test, instead of running until the process is stopped. Queries under the limit return the same nodes as before, duplicates included.

Operands that don't refer to @ are now evaluated once per call. Queries longer than 100,000 bytes and filters longer than 10,000 bytes are rejected before they're parsed.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA Symfony.

Journal des événements

+DISdivulgation

Fiche CVE publiée par Symfony. CVSS 6.3, gravité moyenne.

source cvelist · observé en direct par nday le · brut
{
  "id": 549145,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-133744",
  "occurred_at": "2026-11-25T10:00:04.891Z",
  "observed_at": "2026-11-25T11:01:30.480104Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 6.3,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-25T10:00:04.891Z",
    "assigner_short_name": "Symfony"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.