# CVE-2026-135804: Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters

Status: published. Published: 2026-11-24. Updated: 2026-11-24.

The fix for CVE-2026-45756 lowers pcre.backtrack_limit to 10000 around each preg_match() call of the match() and search() filter functions. That limit applies to one starting position, not to one call. PCRE resets its counter at every position it tries a match from. So an unanchored pattern that stays just under the limit is paid once per byte of the subject. Each call also starts from a fresh limit, so chaining clauses in one filter multiplies the work.

Two other paths made the cost of a query grow faster than its size, without any regular expression:
- The filter evaluator scanned the whole expression for logical operators once per node. Its cost grew with the square of the number of chained clauses.
- Queries starting with $ inside a filter, like @.x == $.limit or length($.items), were evaluated again for every node the filter visits.

An application that evaluates an attacker-influenced JSONPath expression can therefore still be made to hold a PHP worker. A document of 2 MB and a query of 2.5 KB take 3.5 minutes of CPU.

JsonCrawler::find() now bounds the total regex work of one call, and throws an exception when that budget is exhausted. Filter expressions are parsed once per query, and absolute queries inside filters are evaluated once per query.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Symfony) — https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Symfony) — https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Symfony) — https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8

## Affected products and versions

- Symfony / symfony/json-path (symfony/json-path): ≥ 7.3.0; < 7.4.23 (affected, semver); ≥ 8.0.0; < 8.1.11 (affected, semver). Source: CNA: Symfony
- Symfony / symfony/symfony (symfony/symfony): ≥ 7.3.0; < 7.4.23 (affected, semver); ≥ 8.0.0; < 8.1.11 (affected, semver). Source: CNA: Symfony

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-400, CWE-407, CWE-1333

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://symfony.com/cve-2026-135804 (CNA: Symfony; vendor-advisory)

- https://github.com/symfony/symfony/security/advisories/GHSA-cpww-5vpx-72x7 (CNA: Symfony; vendor-advisory)

- https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2 (CNA: Symfony; patch)

- https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47 (CNA: Symfony; patch)

- https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8 (CNA: Symfony; patch)

## Provenance

- CNA: Symfony: https://www.cve.org/CVERecord?id=CVE-2026-135804; retrieved 2026-11-24; source updated 2026-11-24

Revision: 2d4d34fa8a2458f3bebac778cdbcb1ae27736a74d1a43d41d9bb6a92cb393d18

Canonical: https://y2.dev/cve/CVE-2026-135804

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.