CVE 8.7 HIGH

facil.io and downstream iodine ruby gem vulnerable to uncontrolled resource consumption and loop with unreachable exit condition_CVE-2026-41146

8.7 / 10
HIGH
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

Description

facil.io is a C micro-framework for web applications. Prior to commit 5128747363055201d3ecf0e29bf0a961703c9fa0, `fio_json_parse` can enter an infinite loop when it encounters a nested JSON value starting with `i` or `I`. The process spins in user space and pegs one CPU core at ~100% instead of returning a parse error. Because `iodine` vendors the same parser code, the issue also affects `iodine` when it parses attacker-controlled JSON. The smallest reproducer I found is `[i`. The quoted-value form that originally exposed the issue, `[""i`, reaches the same bug because the parser tolerates missing commas and then treats the trailing `i` as the start of another value. Commit 5128747363055201d3ecf0e29bf0a961703c9fa0 fixes the issue.

AI Analysis

Infinite loop in JSON parsing due to nested values starting with 'i' or 'I', leading to uncontrolled resource consumption

Basic Information

ID CVE-2026-41146
Source GitHub_M
Published Apr 22, 2026 at 01:07

Affected Product

Vendor boazsegev
Product facil.io
Version < 5128747363055201d3ecf0e29bf0a961703c9fa0
Affected Versions boazsegev facil.io < 5128747363055201d3ecf0e29bf0a961703c9fa0
boazsegev iodine < 0.7.59

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor boazsegev
Product facil.io, iodine
Version < 5128747363055201d3ecf0e29bf0a961703c9fa0, < 0.7.59

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.