mlsanityData to 7 Oct 2026

The Early Bird Catches the Leak: Unveiling Timing Side Channels in LLM Serving Systems

arXiv 2409.20002 ↗First posted 30 Sep 2024cs.CRcited by 29

Not on the map. Why?

Abstract (arXiv)

The wide deployment of Large Language Models (LLMs) has given rise to strong demands for optimizing their inference performance. Today's techniques serving this purpose primarily focus on reducing latency and improving throughput through algorithmic and hardware enhancements, while largely overlooking their privacy side effects, particularly in a multi-user environment. In our research, for the first time, we discovered a set of new timing side channels in LLM systems, arising from shared caches and GPU memory allocations, which can be exploited to infer both confidential system prompts and those issued by other users. These vulnerabilities echo security challenges observed in traditional computing systems, highlighting an urgent need to address potential information leakage in LLM serving infrastructures. In this paper, we report novel attack strategies designed to exploit such timing side channels inherent in LLM deployments, specifically targeting the Key-Value (KV) cache and semantic cache widely used to enhance LLM inference performance. Our approach leverages timing measurements and classification models to detect cache hits, allowing an adversary to infer private prompts with high accuracy. We also propose a token-by-token search algorithm to efficiently recover shared prompt prefixes in the caches, showing the feasibility of stealing system prompts and those produced by peer users. Our experimental studies on black-box testing of popular online LLM services demonstrate that such privacy risks are completely realistic, with significant consequences. Our findings underscore the need for robust mitigation to protect LLM systems against such emerging threats.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 Sep 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 11; 2026: 16.

29 papers.

Sort:

By area:

  1. 2025Auditing Prompt Caching in Language Model APIscited by 19
  2. 2025Selective KV-Cache Sharing to Mitigate Timing Side-Channels in LLM Inferencecited by 18
  3. 2025MoEcho: Exploiting Side-Channel Attacks to Compromise User Privacy in Mixture-of-Experts LLMscited by 11
  4. 2025Optimizing Agentic Language Model Inference via Speculative Tool Callscited by 11
  5. 2025LLM Fingerprinting via Semantically Conditioned Watermarkscited by 7
  6. 2024When Speculation Spills Secrets: Side Channels via Speculative Decoding In LLMscited by 6
  7. 2024InstCache: A Predictive Cache for LLM Servingcited by 6
  8. 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
  9. 2025Can Transformer Memory Be Corrupted? Investigating Cache-Side Vulnerabilities in Large Language Modelscited by 3
  10. 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationalecited by 3
  11. 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 3
  12. 2025Spill The Beans: Exploiting CPU Cache Side-Channels to Leak Tokens from Large Language Modelscited by 2
17 more
  1. 2026Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Modelcited by 2
  2. 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
  3. 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Servicescited by 1
  4. 2026PrefixWall: Mitigating Prefix Caching Side Channels in Shared LLM Systemscited by 1
  5. 2026HijackKV: New Threat in Position-Independent KV Cache Reusecited by 1
  6. 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
  7. 2026Governing the KV Cache: Preventing Timing Side-Channel Leakage in Multi-Tenant LLM Inferencecited by 1
  8. 2025Attacks on Approximate Caches in Text-to-Image Diffusion Modelscited by 0
  9. 2026Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Modelscited by 0
  10. 2026Bit-Flip Vulnerability of Shared KV-Cache Blocks in LLM Serving Systemscited by 0
  11. 2026MESA: Prioritizing Vulnerable Communication Channels for Securing Multi-Agent Systemscited by 0
  12. 2026Leaky Language Models: Stealing Architecture and Inference Optimizations via Per-Token Timingcited by 0
  13. 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channelscited by 0
  14. 2026Detokenization Leaks: Reconstructing Local LLM Outputs From Cache Tracescited by 0
  15. 2026Characterizing Contention-Induced Reliability Collapse in KV-Cache Timing Side Channels for Multi-Tenant LLM Servingcited by 0
  16. 2026Unified AI Gateway: A Framework for Joint Model Routing and KV Cache Managementcited by 0
  17. 2026Ask the Tool, Don't Guess: Agent Tool Calls Hold Their Progress, and the Serving System Should Read Itcited by 0