CVEfocus › CVE database › CVE-2026-120194

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

CVSS 7.5 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-10-31Updated 2026-11-23Assigner: redhat

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.

CWE-835

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10json-glibFix pendingUBUNTU-CVE-2026-120194
Ubuntu 26.04json-glibUnder investigationUBUNTU-CVE-2026-120194
Ubuntu 24.04json-glibUnder investigationUBUNTU-CVE-2026-120194
Ubuntu 22.04json-glibUnder investigationUBUNTU-CVE-2026-120194
Ubuntu 20.04json-glibFix pendingUBUNTU-CVE-2026-120194
Ubuntu 18.04json-glibFix pendingUBUNTU-CVE-2026-120194
Ubuntu 16.04json-glibFix pendingUBUNTU-CVE-2026-120194
Debian 14json-glibFix pendingDEBIAN-CVE-2026-120194
Debian 13json-glibFix pendingDEBIAN-CVE-2026-120194
Debian 12json-glibFix pendingDEBIAN-CVE-2026-120194
Red Hat Enterprise Linux 10json-glibFix pending
Affected
Red Hat Enterprise Linux 10json-glib-develFix pending
Affected
Red Hat Enterprise Linux 9json-glibFix pending
Affected
Red Hat Enterprise Linux 9json-glib-develFix pending
Affected
Red Hat Enterprise Linux 8json-glibFix pending
Affected
Red Hat Enterprise Linux 8json-glib-develFix pending
Affected
Red Hat Enterprise Linux 7json-glibFix pending
Affected
Red Hat Enterprise Linux 7json-glib-develFix pending
Affected
Red Hat Enterprise Linux 7json-glib-testsFix pending
Affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.