English

Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Models

Cryptography and Security 2026-03-30 v2 Artificial Intelligence Machine Learning

Abstract

On-device Vision-Language Models (VLMs) promise data privacy via local execution. However, we show that the architectural shift toward Dynamic High-Resolution preprocessing (e.g., AnyRes) introduces an inherent algorithmic side-channel. Unlike static models, dynamic preprocessing decomposes images into a variable number of patches based on their aspect ratio, creating workload-dependent inputs. We demonstrate a dual-layer attack framework against local VLMs. In Tier 1, an unprivileged attacker can exploit significant execution-time variations using standard unprivileged OS metrics to reliably fingerprint the input's geometry. In Tier 2, by profiling Last-Level Cache (LLC) contention, the attacker can resolve semantic ambiguity within identical geometries, distinguishing between visually dense (e.g., medical X-rays) and sparse (e.g., text documents) content. By evaluating state-of-the-art models such as LLaVA-NeXT and Qwen2-VL, we show that combining these signals enables reliable inference of privacy-sensitive contexts. Finally, we analyze the security engineering trade-offs of mitigating this vulnerability, reveal substantial performance overhead with constant-work padding, and propose practical design recommendations for secure Edge AI deployments.

Keywords

Cite

@article{arxiv.2603.25403,
  title  = {Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Models},
  author = {Eyal Hadad and Mordechai Guri},
  journal= {arXiv preprint arXiv:2603.25403},
  year   = {2026}
}

Comments

13 pages, 8 figures

R2 v1 2026-07-01T11:39:12.164Z