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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T23:41:06.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-2x79-gwq3-vxxm
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- boazsegev facil.io: < 5128747363055201d3ecf0e29bf0a961703c9fa0
- boazsegev iodine: < 0.7.59
- iodine (RubyGems): up to 0.7.58

## Every score

- GitHub_M: CVSS:4.0 8.7 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/boazsegev/facil.io/security/advisories/GHSA-2x79-gwq3-vxxm> (exploit, web)
- <https://github.com/boazsegev/facil.io/commit/5128747363055201d3ecf0e29bf0a961703c9fa0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41146> (advisory)
- <https://github.com/boazsegev/facil.io> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/iodine/CVE-2026-41146.yml> (web)

## Sources

- CVE List: [CVE-2026-41146](https://www.cve.org/CVERecord?id=CVE-2026-41146), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-2x79-gwq3-vxxm](https://github.com/advisories/GHSA-2x79-gwq3-vxxm), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2026-41146](https://nvd.nist.gov/vuln/detail/CVE-2026-41146), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41146 · Whole record: https://cve.day/CVE-2026-41146.json · Rebuilt by cve.day 2026-11-25T22:59:19.223Z
