Json-glib: json-glib: infinite loop in json_path_query() with negative jsonpath slice step (Red Hat Red Hat Enterprise Linux 10)
At a glance
- Source
- CVE.org
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
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.
Weaknesses (CWE)
- CWE-835 — Loop with Unreachable Exit Condition
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
European references
- ENISA EUVD · EUVD-2026-114712
- GCVE · GCVE-0-2026-120194
Affected products
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |