Intel

AIKIDO-2026-289027

starlark-pyo3 is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-v4hc-mvmm-8cwf Published Yesterday

75

High Risk

This Affects:

PYTHONstarlark-pyo3
2025.2.4 - 2026.1
Fixed in 2026.1.1
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

starlark-pyo3 is vulnerable to Denial of Service (DoS) in versions 2025.2.4 - 2026.1.

How to fix this

Upgrade the starlark-pyo3 and/or the starlark_pyo3 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform