The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41146

CVE-2026-41146: facil.io JSON Parser DoS Vulnerability

CVE-2026-41146 is a denial of service flaw in facil.io's JSON parser that causes infinite loops when processing malformed JSON, pegging CPU at 100%. This post covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41146 Overview

A denial of service vulnerability exists in facil.io, a C micro-framework for web applications. The fio_json_parse function can enter an infinite loop when processing maliciously crafted JSON input containing nested values starting with i or I. This causes the process to spin in user space, pegging one CPU core at approximately 100% utilization instead of returning a parse error. The vulnerability also affects the iodine Ruby web server which vendors the same parser code.

Critical Impact

Remote attackers can trigger CPU exhaustion by sending specially crafted JSON payloads as small as two characters ([i), causing denial of service to applications using facil.io or iodine for JSON parsing.

Affected Products

  • facil.io (versions prior to commit 5128747363055201d3ecf0e29bf0a961703c9fa0)
  • iodine Ruby HTTP/WebSocket server (vendors facil.io parser code)
  • Applications using facil.io's fio_json_parse function

Discovery Timeline

  • 2026-04-22 - CVE-2026-41146 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-41146

Vulnerability Analysis

This vulnerability is categorized as CWE-400 (Uncontrolled Resource Consumption). The flaw resides in the JSON parser's handling of numeric value parsing. When the parser encounters input starting with i or I in a value context, the numeric parsing functions (fio_atol and fio_atof) fail to advance the position pointer, causing the parser to re-process the same character indefinitely.

The smallest reproducer is simply [i — a two-character payload that triggers the infinite loop. The quoted-value form ["\"i also triggers the bug because the parser tolerates missing commas between elements and subsequently treats the trailing i as the start of another value.

Root Cause

The root cause lies in the numeric parsing logic within lib/facil/fiobj/fio_json_parser.h. The original code checked whether the temporary pointer (tmp) was null or pointing to a numeric character, but failed to verify whether the parsing functions actually consumed any input. When fio_atol or fio_atof encounters an invalid numeric string starting with i or I (likely intended for values like "infinity"), it returns without advancing the position pointer, yet the original validation checks passed, causing the parser to loop indefinitely.

Attack Vector

The vulnerability is exploitable over the network without authentication or user interaction. An attacker can send a minimal JSON payload containing the malicious pattern to any endpoint that parses JSON using facil.io's fio_json_parse function. This includes:

  • HTTP POST requests with JSON body content
  • WebSocket messages containing JSON data
  • Any API endpoint accepting JSON input

The attack requires minimal bandwidth (as few as 2 bytes) and can exhaust CPU resources on the target server.

c
// Security patch from lib/facil/fiobj/fio_json_parser.h
// Source: https://github.com/boazsegev/facil.io/commit/5128747363055201d3ecf0e29bf0a961703c9fa0

       long long i = fio_atol((char **)&tmp);
       if (tmp > limit)
         goto stop;
-      if (!tmp || JSON_NUMERAL[*tmp]) {
+      if (!tmp || tmp == pos || JSON_NUMERAL[*tmp]) {
         tmp = pos;
         double f = fio_atof((char **)&tmp);
         if (tmp > limit)
           goto stop;
-        if (!tmp || JSON_NUMERAL[*tmp])
+        if (!tmp || tmp == pos || JSON_NUMERAL[*tmp])
           goto error;
         fio_json_on_float(parser, f);
         pos = tmp;

The fix adds a critical check tmp == pos to verify that the parsing functions actually advanced the position pointer. If no characters were consumed (indicating invalid input), the parser now correctly jumps to the error handler instead of looping.

Detection Methods for CVE-2026-41146

Indicators of Compromise

  • Sustained 100% CPU utilization on a single core by web application processes
  • Web server processes becoming unresponsive to legitimate requests
  • Increased request timeouts or connection failures from client perspective
  • Log entries showing incomplete or malformed JSON payloads with patterns containing i or I characters in unexpected positions

Detection Strategies

  • Monitor for anomalous CPU utilization patterns where a single core sustains 100% usage while others remain idle
  • Implement request timeout monitoring to detect endpoints that stop responding
  • Analyze incoming JSON payloads for suspicious patterns like [i, ["i, or nested arrays with i/I characters
  • Deploy application-level monitoring to track JSON parsing duration and flag operations exceeding expected thresholds

Monitoring Recommendations

  • Configure process monitoring to alert on single-threaded CPU exhaustion scenarios
  • Implement connection timeout thresholds at load balancer and reverse proxy layers
  • Enable detailed logging of malformed JSON parsing errors with payload sampling
  • Set up health check endpoints that bypass JSON parsing to detect hung application states

How to Mitigate CVE-2026-41146

Immediate Actions Required

  • Update facil.io to include commit 5128747363055201d3ecf0e29bf0a961703c9fa0 or later
  • Update iodine gem if using Ruby with iodine as the web server
  • Implement request timeouts at the application or infrastructure level to limit impact of potential exploitation
  • Consider rate limiting on endpoints that accept JSON input from untrusted sources

Patch Information

The vulnerability is fixed in facil.io commit 5128747363055201d3ecf0e29bf0a961703c9fa0. The patch modifies the JSON parser in lib/facil/fiobj/fio_json_parser.h to add a position advancement check that prevents the infinite loop condition. For detailed patch information, see the GitHub Commit and the GitHub Security Advisory GHSA-2x79-gwq3-vxxm.

Workarounds

  • Implement JSON input validation or sanitization before passing to fio_json_parse
  • Deploy request timeout mechanisms at the web server, reverse proxy, or load balancer level to terminate long-running requests
  • Use an alternative JSON parser for untrusted input until the patch can be applied
  • Implement resource limits (CPU time, memory) for request-handling processes using containerization or OS-level controls
bash
# Example: Configure nginx upstream timeout to limit request processing time
# Add to nginx configuration to mitigate potential DoS impact

upstream facil_backend {
    server 127.0.0.1:3000;
}

server {
    location /api/ {
        proxy_pass http://facil_backend;
        proxy_connect_timeout 5s;
        proxy_send_timeout 10s;
        proxy_read_timeout 30s;
        
        # Limit request body size for JSON endpoints
        client_max_body_size 1m;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFacil

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-2x79-gwq3-vxxm
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English