CVE-2026-120194
Json-glib: json-glib: infinite loop in json_path_query() with negative jsonpath slice step
7.5
Description
A flaw was found in json-glib. The JSONPath slice evaluator used by json_path_query() can enter an infinite loop when given a slice expression with a negative step. An application that evaluates attacker-controlled JSONPath expressions can be forced into a hang, leading to a denial of service.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| red hat enterprise linux 10 | red hat | — | — | CVE.org |
| red hat enterprise linux 7 | red hat | — | — | CVE.org |
| red hat enterprise linux 8 | red hat | — | — | CVE.org |
| red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat openshift ai (rhoai) | red hat | — | — | CVE.org |
| red hat openshift container platform 4 | red hat | — | — | CVE.org |
| red hat openshift container platform 5 | red hat | — | — | CVE.org |