English

PRISM: Programmatic Reasoning with Image Sequence Manipulation for LVLM Jailbreaking

Cryptography and Security 2026-04-09 v3 Computer Vision and Pattern Recognition

Abstract

The increasing sophistication of large vision-language models (LVLMs) has been accompanied by advances in safety alignment mechanisms designed to prevent harmful content generation. However, these defenses remain vulnerable to sophisticated adversarial attacks. Existing jailbreak methods typically rely on direct and semantically explicit prompts, overlooking subtle vulnerabilities in how LVLMs compose information over multiple reasoning steps. In this paper, we propose a novel and effective jailbreak framework inspired by Return-Oriented Programming (ROP) techniques from software security. Our approach decomposes a harmful instruction into a sequence of individually benign visual gadgets. A carefully engineered textual prompt directs the sequence of inputs, prompting the model to integrate the benign visual gadgets through its reasoning process to produce a coherent and harmful output. This makes the malicious intent emergent and difficult to detect from any single component. We validate our method through extensive experiments on established benchmarks including SafeBench and MM-SafetyBench, targeting popular LVLMs. Results show that our approach consistently and substantially outperforms existing baselines on state-of-the-art models, achieving near-perfect attack success rates (over 0.90 on SafeBench) and improving ASR by up to 0.39. Our findings reveal a critical and underexplored vulnerability that exploits the compositional reasoning abilities of LVLMs, highlighting the urgent need for defenses that secure the entire reasoning process.

Keywords

Cite

@article{arxiv.2507.21540,
  title  = {PRISM: Programmatic Reasoning with Image Sequence Manipulation for LVLM Jailbreaking},
  author = {Quanchen Zou and Zonghao Ying and Moyang Chen and Wenzhuo Xu and Yisong Xiao and Yakai Li and Deyue Zhang and Dongdong Yang and Zhao Liu and Xiangzheng Zhang},
  journal= {arXiv preprint arXiv:2507.21540},
  year   = {2026}
}

Comments

This version is withdrawn to consolidate the submission under the corresponding author's primary account. The most recent and maintained version of this work can be found at arXiv:2603.09246

R2 v1 2026-07-01T04:23:30.794Z