
Cloud Vulnerability DB
A community-led vulnerabilities database
Deep native recursion in sandboxed Python overflows the host's async fiber stack, and wasmtime responds by aborting the whole host process (SIGABRT, execution on async fiber has overflowed its stack) instead of returning a trap to eryx.
eryx runs guest code on wasmtime async fibers. Since eryx 0.4.0 the engine config set async_stack_size(512 KiB) while leaving max_wasm_stack at wasmtime's default, which is also 512 KiB. Wasmtime documents that host code running on the fiber gets async_stack_size - max_wasm_stack bytes, which this made zero. When guest code recursed close to the wasm stack limit, the fiber overflowed before wasmtime's own stack-limit check could raise a call stack exhausted trap, and wasmtime aborts the process when a fiber overflows.
No special configuration or capability is needed. One line of sandboxed Python is enough:
import json; json.loads("[" * 10**6 + "]" * 10**6)Other triggers found: json.dumps, repr, pickle.dumps/loads, copy.deepcopy and == on deeply nested lists; eval("(" * 10**5 + ")" * 10**5); ast.parse("-" * 10**6 + "1"); and simply dropping the last reference to a deeply nested list. Raising sys.setrecursionlimit is not required, because these paths recurse in C. 14 of the 20 probe scripts tried aborted the host.
An abort cannot be caught by catch_unwind or any other handler. Every embedder running untrusted Python in-process is affected. The worst case is eryx-server (gRPC), where one request kills the process and every concurrent execution in it, a denial of service triggerable by anyone who can submit a script.
In the eryx crate the setting was introduced in 0.4.0 and is present in every release up to and including 0.15.0. pyeryx 0.1.0 to 0.2.1 already carried the same line in their bundled engine code before the crate adopted it, so every published pyeryx version up to and including 0.15.0 is affected. The engine configuration has not changed in this respect since 0.4.0; the abort was reproduced on the main branch just after 0.15.0, whose engine configuration is identical; it was not re-run on older releases.
eryx: >= 0.4.0, <= 0.15.0pyeryx: every published version up to and including 0.15.0 (<= 0.15.0)sd2k/eryx-server: every image built before 0.15.1, including the floating (latest, main, 0.x) and commit-SHA tags. Fixed in sd2k/eryx-server:0.15.1 (published 2026-11-15). Docker images are not an advisory ecosystem, so Dependabot cannot alert on it; pull sd2k/eryx-server:0.15.1 or later.
Not affected: the npm package (@eryx-org/eryx, formerly @bsull/eryx). It runs a jco-transpiled component inside the JavaScript engine and does not use wasmtime or its fibers. eryx-precompile only compiles and pre-initialises the trusted runtime, so it does not run untrusted guest code.Fixed in eryx 0.15.1 (crates.io) and pyeryx 0.15.1 (PyPI), both published 2026-11-15. The fiber stack is now 1 MiB with a 512 KiB wasm stack, leaving 512 KiB of the fiber for host code, and a build-time assertion and a unit test enforce that headroom. Deep recursion now surfaces as a normal execution error (call stack exhausted) and the same sandbox keeps working. A regression test runs the triggers above in a subprocess so an abort fails the test rather than the test runner.
There is no configuration option that prevents this in affected versions. Embedders can reduce exposure by running each sandbox in a separate process, so an abort only loses that execution, or by rejecting deeply nested input before it reaches the sandbox, which does not cover code the script builds itself (for example a nested list built in a loop).
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."