CVE DatabaseCVE-2026-120194
한국어 권고문 →
CVE-2026-1201947.5/HIGHCWE-835

GNOME json-glib Infinite Loop Denial of Service Vulnerability (CVE-2026-120194) Technical Advisory

⚡ Jump to Patch
Affected Vendors
gnome, redhat
Affected Components
json-glib
Published Date
2026-10-31
CVSS v3.1
7.5
HIGH
EPSS (30d)
0.5%
FIRST.org
CISA KEV
Not Listed

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Applications and systems utilizing the GNOME json-glib library to evaluate user-controlled JSONPath queries via json_path_query()

Impact

An attacker can trigger an infinite loop by supplying a JSONPath slice expression with a negative step, leading to 100% CPU utilization and a complete Denial of Service (DoS)

Mitigation

Upgrade the json-glib package to the latest patched version, or implement input validation to reject JSONPath expressions containing negative slice steps

Affected Products & Version Scope

All unpatched versions of the GNOME json-glib library

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Update the json-glib package to the latest security-patched version provided by your operating system vendor.

bash
# For Debian/Ubuntu-based systems
sudo apt-get update && sudo apt-get install --only-upgrade -y libjson-glib-1.0-0

# For RHEL/CentOS/Rocky Linux-based systems
sudo dnf clean all && sudo dnf upgrade -y json-glib

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, implement input validation at the application layer to sanitize and reject any JSONPath queries containing negative step values.

python
# Example Python middleware validation snippet
import re

def secure_filter_jsonpath(query_string):
    # Detect negative step patterns in JSONPath slices (e.g., ':-1' or ': -2')
    pattern = re.compile(r':[\s]*-([0-9]+)')
    if pattern.search(query_string):
        return False # Reject the query
    return True

3. Log Audit & IoC Verification Commands

Use the following commands to check the installed version of json-glib and monitor for high CPU utilization caused by potential exploitation attempts.

bash
# Verify the installed version of json-glib on the system
ldconfig -p | grep json-glib

# Monitor for processes consuming excessive CPU resources
top -b -n 1 | head -n 20
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Snyk Open Source & Container Security
Apply the latest operating system package updates immediately to mitigate the risk of remote Denial of Service attacks targeting json-glib.

Scan Your Repositories for Transitive Vulnerable Dependencies in 30 Seconds

Automatically detect vulnerable packages across npm, PyPI, Maven, and Go, and open automated fix Pull Requests without breaking your build.

Free Forever Tier · 1-Click GitHub/GitLab Auto-PR
Master DevSecOps: Automated SAST/SCA in GitHub Actions & Kubernetes
View Course Curriculum

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

A critical flaw has been identified in json-glib, a widely used library for parsing and handling JSON data within GNOME environments and various Linux applications. The vulnerability resides in the JSONPath slice evaluator used by the json_path_query() function. When processing a slice expression that contains a negative step value, the evaluator fails to properly handle the decrementing index boundaries, resulting in an infinite loop (CWE-835: Loop with Unreachable Exit Condition).

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability if the target application accepts and evaluates arbitrary JSONPath expressions from untrusted sources. By crafting a payload containing a negative step in a slice expression (e.g., $.data[-1:-10:-2]), the attacker forces the json-glib parser into an infinite loop. Because the loop control variable never satisfies the termination condition, the thread handling the request consumes 100% of the allocated CPU core. Repeated requests can easily exhaust all available CPU resources on the host, rendering the entire application or container unresponsive.

3. Infrastructure & Business Impact

Since json-glib is a core dependency in many Linux distributions (including Red Hat Enterprise Linux, Fedora, Debian, and Ubuntu), this vulnerability poses a significant risk to infrastructure stability. A successful Denial of Service (DoS) attack can disrupt critical business APIs, microservices, and desktop environments, leading to service downtime and potential SLA breaches without requiring any prior authentication.

Official Vendor Advisories & References

NVD Original English 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.

Frequently Asked SecOps Questions (CVE-2026-120194)

FAQ

Q1. How critical is CVE-2026-120194 and is it actively exploited in the wild?

CVE-2026-120194 is rated CVSS 7.5 (HIGH) with a 30-day EPSS exploitation probability of 0.5%. Organizations running affected versions should prioritize patching based on network exposure.

Q2. Which vendors and products are affected by CVE-2026-120194?

Primary impacted vendors include gnome, redhat across json-glib. Scope summary: All unpatched versions of the GNOME json-glib library

Q3. What temporary mitigations or workarounds exist for CVE-2026-120194 before patching?

[Mitigation] Upgrade the json-glib package to the latest patched version, or implement input validation to reject JSONPath expressions containing negative slice steps Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2026-120194

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (gnome)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2026-120194 GNOME json-glib Infinite Loop Denial of Service Vulnerability (CVE-2026-120194) Technical Advisory (CVSS 7.5) - Patch & Workaround | CVE Pulse