CVE-2026-135804 Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- PHPUbuntuDebian
Description
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.
Upgrade path
7 packages: 3 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/symfony(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/symfony(Debian 14) | < 7.4.23+dfsg-1; = 6.4.21+dfsg-2; = 6.4.24+dfsg-1; = 6.4.25+dfsg-1 +63 more | 7.4.23+dfsg-1 | Fixed |
| symfony/json-path(Packagist) | >= 7.3.0, < 7.4.23; >= 8.0.0, < 8.1.11 | 7.4.23, 8.1.11 | Fixed |
| symfony/symfony(Packagist) | >= 7.3.0, < 7.4.23; >= 8.0.0, < 8.1.11 | 7.4.23, 8.1.11 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/json-path(Packagist) | >= 7.3.0, < 7.4.23 | 7.4.23 |
| symfony/json-path(Packagist) | >= 8.0.0, < 8.1.11 | 8.1.11 |
| symfony/symfony(Packagist) | >= 7.3.0, < 7.4.23 | 7.4.23 |
| symfony/symfony(Packagist) | >= 8.0.0, < 8.1.11 | 8.1.11 |
| ubuntu/symfony(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:26.10) | All versions | No fix listed |
| debian/symfony(Debian:14) | < 7.4.23+dfsg-1 | 7.4.23+dfsg-1 |
| debian/symfony(Debian:14) | = 6.4.21+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 6.4.24+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 6.4.25+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~rc1+dfsg-1 | No fix listed |
Show 50 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/symfony(Debian:14) | = 7.2.1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.6-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.5-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta1-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta1-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-3 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.10+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.12+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.13+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.13+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.14+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.15+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.15+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.16+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.17+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.18+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.19+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.2+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.20+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.21+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.21+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.22+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.6+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.8+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.9+dfsg-1 | No fix listed |
References
- CVE-2026-135804 vendor-advisory
- GHSA-cpww-5vpx-72x7 vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- ENISA EUVD EUVD-2026-133737 third-party-advisory
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-135804 vendor-advisory