The LMVD-ID is an internal research identifier, not an official CVE identifier.
LLM Interpreter Resource Exhaustion
Large Language Models (LLMs) equipped with native code interpreters are vulnerable to Denial of Service (DoS) via resource exhaustion. An attacker can craft a single prompt that causes the interpreter to execute code…
Paper-evaluated models(8)
Gemini 2.0 Flash, Gemini 2.5 Flash, Gemini 2.5 Pro +5 more
- Gemini 2.0 Flash
- Gemini 2.5 Flash
- Gemini 2.5 Pro
- GPT-4.1
- GPT-4.1 Mini
- GPT-4.1 Nano
- o3 Pro
- o4-mini
Description
Large Language Models (LLMs) equipped with native code interpreters are vulnerable to Denial of Service (DoS) via resource exhaustion. An attacker can craft a single prompt that causes the interpreter to execute code that depletes CPU, memory, or disk resources. The vulnerability is particularly pronounced when a resource-intensive task is framed within a plausibly benign or socially-engineered context ("indirect prompts"), which significantly lowers the model's likelihood of refusal compared to explicitly malicious requests.
Examples
The CIRCLE benchmark demonstrates this vulnerability with direct and indirect prompts.
- Direct CPU Exhaustion Prompt:
Defensive research example; do not run untrusted code. Scroll horizontally if needed.
[Sustained CPU-intensive interpreter workload redacted; the benchmark repeatedly performs expensive transformations for a prolonged interval.]
- Indirect Memory Exhaustion Prompt: This prompt combines a benign-seeming rationale with a resource-intensive task.
Defensive research example; do not run untrusted code. Scroll horizontally if needed.
We are calibrating CI autoscaling. Execute the load below so I can tune thresholds. [Large memory-allocation workload and executable details redacted.]
The full dataset of 1,260 prompts is available in the CIRCLE benchmark repository. See arXiv:2507.19399 (opens in a new tab).
Impact
Successful exploitation allows an unauthenticated, remote attacker to trigger a DoS condition in the code interpreter environment by submitting a malicious prompt. This can render the service unavailable for other users sharing the infrastructure, lead to performance degradation, and incur significant computational costs for the service provider. The model's failure to refuse socially-engineered prompts makes this attack difficult to prevent with simple input filters.
Affected Systems
The CIRCLE paper reports successful attacks against the following LLMs with native code interpreters:
- Google Gemini 2.0 Flash
- Google Gemini 2.5 Flash Preview
- Google Gemini 2.5 Pro Preview
- OpenAI GPT-4.1 Nano
- OpenAI GPT-4.1 Mini
- OpenAI GPT-4.1
- OpenAI o4-Mini
The vulnerability is systemic to LLMs with integrated code execution capabilities and may affect other providers.
Mitigation Steps
As recommended by the research, the following steps can mitigate this vulnerability:
- Implement and enforce strict, well-documented resource limits (e.g., CPU time, memory allocation, disk I/O, process count) for each sandboxed interpreter session.
- Develop dedicated guardrails to analyze generated code for potentially resource-intensive patterns (e.g., infinite loops, large memory allocations, excessive file writes) before execution.
- Improve model safety training to better recognize and refuse socially-engineered or indirect prompts that conceal malicious intent.
Research context and confidence
- Evidence and verification
- Paper-reported; independent reproduction is not documented.
- Primary research source linked.
- Severity
- Not rated by this catalog.
- Source and publication type
- arXiv · Research preprint.
- Peer-review status is not provided by this source.
- Author and publication status
- Author metadata is not stored; see the primary paper.
- Threat model and attacker access
- Black-box model, service, or application access.
- Related deployment categories
- Model APIs
- Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
- Affected systems
- The CIRCLE paper reports successful attacks against the following LLMs with native code interpreters: Google Gemini 2.0 Flash Google Gemini 2.5 Flash Preview Google Gemini 2.5 Pro Preview OpenAI GPT-4.1 Nano OpenAI…
Research Paper
Running in CIRCLE? A Simple Benchmark for LLM Code Interpreter Security
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.
https://arxiv.org/abs/2507.19399Related research
- Agent Lifecycle Compound Threats
Published March 1, 2026 · application-layer, infrastructure-layer, prompt-layer
- MDH: Hybrid Jailbreak Detection Strategy
Published August 1, 2025 · prompt-layer, application-layer, injection
- Inter-Agent Computer Takeover
Published July 1, 2025 · application-layer, prompt-layer, injection