CVE-2026-3384: ChaiScript · Uncontrolled Recursion
Affects ChaiScriptSource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ChaiScript | Affected
| Fixed in– |
GitHubchaiscript/ChaiScriptpkg:github/chaiscript/ChaiScriptOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-3384, organizations should first assess whether they use affected versions of ChaiScript (6.0 or 6.1.0) in their environments. 2) Implement strict input validation and sanitization on scripts or data processed by ChaiScript to prevent malicious recursive constructs. 3) Introduce resource limits such as maximum recursion depth or execution timeouts within the scripting environment or host application to prevent runaway recursion. 4) If feasible, disable or sandbox scripting capabilities where untrusted code execution is possible. 5) Monitor logs and system behavior for signs of excessive recursion or resource exhaustion. 6) Engage with the ChaiScript community or maintainers for updates or unofficial patches. 7) Consider upgrading to future versions once a fix is released. These targeted mitigations go beyond generic advice by focusing on controlling recursion and limiting local attack surfaces.
Description
A security vulnerability has been detected in ChaiScript up to 6.1.0. This impacts the function chaiscript::eval::AST_Node_Impl::eval/chaiscript::eval::Function_Push_Pop of the file include/chaiscript/language/chaiscript_eval.hpp. The manipulation leads to uncontrolled recursion. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.