- Home
- Vulnerabilities
- CVE-2026-120194
CVE-2026-120194
Json-glib: json-glib: infinite loop in json_path_query() with negative jsonpath slice step
Medium
46/100
Summary
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
Redhat (11 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 10.2 Extended Update Support | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 7 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 8 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9.4 Update Services for SAP Solutions | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9.6 Extended Update Support | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9.8 Extended Update Support | Versions not specified | — | CNA (vendor or assigner) |
| Hat OpenShift Container Platform 4 | Versions not specified | — | CNA (vendor or assigner) |
| Hat OpenShift Container Platform 5 | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
Workaroundofficial source
Do not evaluate untrusted JSONPath expressions with json_path_query() or json_path_compile()/json_path_match() until a fix is available. Prefer fixed, application-defined path expressions. In particular, reject or avoid slice expressions that specify a negative step.
Source : CNA (vendor or assigner)
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://access.redhat.com/security/cve/CVE-2026-120194vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2564418issue-tracking, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104770vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104788vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104786vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104790vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104787vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:105857vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:105859vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:105858vendor-advisory, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/json-glib/-/issues/96
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-835 · Autre (CWE-835)