Bug 2564418 (CVE-2026-120194) - CVE-2026-120194 json-glib: json-glib: infinite loop in json_path_query() with negative JSONPath slice step
Summary: CVE-2026-120194 json-glib: json-glib: infinite loop in json_path_query() with...
Keywords:
Status: NEW
Alias: CVE-2026-120194
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2564420 2564421 2564422 2564423 2564424 2564425 2564426 2564427
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-31 10:04 UTC by OSIDB Bzimport
Modified: 2026-10-31 10:10 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-31 10:04:39 UTC
A flaw was found in json-glib. The JSONPath slice evaluator in json_path_query() can enter a non-terminating loop when processing slice expressions that use a negative step (for example, $[:5:-1]). The evaluator iterates with a loop condition that assumes a positive step (i < end while adding step each iteration). When start is less than end and step is negative, the loop index moves away from the termination condition, causing the calling process to hang and resulting in a denial of service. Exploitation requires an application to evaluate an attacker-controlled or otherwise untrusted JSONPath expression using the vulnerable API.


Note You need to log in before you can comment on or make changes to this bug.