PoC Monitor
← All CVEs
CVE-2026-120194published 31 Oct 2026 10:11 UTCData: JSON · API

Red Hat Enterprise Linux 10

Json-glib: json-glib: infinite loop in json_path_query() with negative jsonpath slice step

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-835
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Mitigation

The record names no fix. Check the vendor advisory below.

Workaround

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.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published31 Oct 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.