Bug 2564420 - CVE-2026-120194 json-glib: json-glib: infinite loop in json_path_query() with negative JSONPath slice step [fedora-43]
Summary: CVE-2026-120194 json-glib: json-glib: infinite loop in json_path_query() with...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: json-glib
Version: 43
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["149dfdb9-a480-4ee8-8967-a...
Depends On:
Blocks: CVE-2026-120194
TreeView+ depends on / blocked
 
Reported: 2026-10-31 10:09 UTC by Srikanth Balasubramanian
Modified: 2026-10-31 10:09 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-31 10:09:44 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.