starlark-pyo3 is vulnerable to Denial of Service (DoS)
75
High Risk
Converting Starlark values back to Python objects uses unguarded native recursion in value_to_pyobject. When evaluated Starlark code returns a self-referential list and the caller reads that result, the recursive conversion runs on the native stack and bypasses Python's recursion guard, terminating the process with a segmentation fault. Dictionary cycles raise a catchable RecursionError, but list cycles crash outside any exception handler. The fix tracks containers currently being converted and enforces a maximum depth, raising a Starlark error instead of crashing.
You are affected if you are using a version that falls within the vulnerable range and you retrieve values produced by evaluating untrusted Starlark code.
starlark-pyo3 is vulnerable to Denial of Service (DoS) in versions 2025.2.4 - 2026.1.
Upgrade the starlark-pyo3 and/or the starlark_pyo3 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.