DMN: A Compositional Framework for Jailbreaking Multimodal LLMs with Multi-Image Inputs

Wenzhuo Xu, Zhipeng Wei, Zonghao Ying, Deyue Zhang, Dongdong Yang, Xiangzheng Zhang, Quanchen Zou · 2026

Read DMN: A Compositional Framework for Jailbreaking Multimodal LLMs with Multi-Image Inputs by Wenzhuo Xu, Zhipeng Wei, Zonghao Ying, Deyue Zhang, Dongdong Yang, Xiangzheng Zhang, Quanchen Zou (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-18915.txt.

Introduction

Wenzhuo Xu and six colleagues break multimodal language models by spreading a harmful request across several images instead of one. Single-image jailbreaks cannot distribute requests, carry as much information, or exploit extra visual reasoning tasks as distractions. Their DMN framework combines a distributed instruction, multimodal evidence and a number-chain task to push models past their safety training. Tests show attack success above ninety percent on Claude Sonnet 4, GPT-4o and Gemini-2.5-pro, beating other baselines by a wide margin and exposing weak multi-image safety alignment.

Catalog record

CREATORWenzhuo Xu, Zhipeng Wei, Zonghao Ying, Deyue Zhang, Dongdong Yang, Xiangzheng Zhang, Quanchen Zou
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE60430
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.18915

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

DMN: A Compositional Framework for Jailbreaking Multimodal LLMs with Multi-Image Inputs Wenzhuo Xu, Zhipeng Wei, Zonghao Ying, Deyue Zhang, Dongdong Yang, Xiangzheng Zhang, Quanchen Zou Abstract Multimodal Large Language Models (MLLMs) are vulnerable to jailbreak attacks, which can elicit harmful responses from MLLMs. Many MLLMs support multi-image inputs, inadvertently introducing new vulnerabilities due to less efforts on multi-image safety alignment. Previous MLLM jailbreak methods only uses a single image, which restricts the attack space: they cannot distribute harmful requests across multiple images, carry abundant information, or exploit additional visual reasoning tasks to distract MLLMs. To address these limitations, in this paper, we propose a compositional jailbreak framework, DMN , which leverages D istributed instruction, M ultimodal evidence and a N umber chain task to fully enhance the jailbreak performance. Extensive experiments show that DMN is highly effective for MLLM jailbreaking, e.g. achieving attack success rates of over 90% on GPT-4o, Gemini-2.5-pro and Claude Sonnet 4, surpassing other baselines by a large margin. This compositional, multi-image jailbreak strategy reveals fundamental weaknesses in their safety mechanisms. Warning: This paper may contain harmful content. 2 2 footnotetext: Corresponding author. 1 Introduction Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities in understanding and reasoning over both visual and textual inputs, enabling applications ranging from visual question answering to complex multimodal instruction following 36 ; 17 ; 6 . As these models are increasingly deployed in real-world scenarios, their safety have become critical concerns. Jailbreak attacks, which aim to circumvent built-in safety guardrails and elicit harmful or disallowed content, pose a serious threat to the safety of MLLMs. Many MLLMs, such as GPT-5 19 , and Gemini-2.5-Pro 6 , support multiple image inputs in a single query. This capability, while enhancing model utility, inadvertently introduces new safety vulnerabilities, since current efforts in multimodal safety are mostly designed for single-image inputs. When harmful intent is distributed across multiple images, the safety mechanisms may fail to jointly reason over the full image sequence, resulting in vulnerabilities that can be exploited by attackers. Existing jailbreak methods for MLLMs mainly rely on a single-image input paradigm. These approaches typically embed malicious intent through typographic rendering 7 or query-related images 15 . While effective to some extent, the single-image paradigm inherently limits the attack surface: it prevents the distribution of harmful instructions across multiple images, restricts the amount of information that can be conveyed, and offers limited room for introducing auxiliary reasoning tasks that could further confuse safety mechanisms. Based on the above consideration, we argue that multi-image strategies might significantly enhance jailbreak effectiveness. To this end, we propose DMN , a novel multi-image jailbreak framework containing three components: • D istributed Instruction. This module splits typographic text across multiple images. This strategy raises the difficulty to detect the harmful intent, thus leading to jailbreak success. • M ultimodal Evidence. This module generates textual and visual evidence within the pipeline of realistic case generation, which reduces rejection by T2I models and enhances the level of detail in MLLM responses. • N umber Chain Task. This task introduces distraction to weaken the safety mechanisms by using number chain frames, where MLLMs are instructed to extract digits to form a number chain in a specified order. We evaluate DMN across three datasets and 10 MLLMs. Our results show that DMN can achieve high attack success rates (e.g. over 90% on GPT-4o, Gemini-2.5-pro and Claude Sonnet 4), substantially surpassing other baselines, and are still effective against jailbreak defenses. We also conduct extensive ablation studies, revealing several meaningful findings, including (1) that the performance improvement is from modules rather than increased image count, (2) that the harmful intent bypasses the safety mechanisms more easily when distributed over multiple images, (3) that more complex auxiliary tasks result in higher level of distraction, and so on. Overall, this paper proposes a three-module multi-image jailbreak, demonstrates its effectiveness by extensive experiments, and thus reveals a critical vulnerability of current MLLMs. 2 Related Work 2.1 Multimodal Large Language Models Multimodal Large Language Models (MLLMs) that jointly process visual and textual inputs have advanced rapidly in recent years 2 ; 6 . These models typically pair an image encoder with a language backbone, aligning visual features to the token space through projection or adapter modules. With visual information integrated into the language model’s representation space, MLLMs can perform a wide range of image-grounded tasks, such as visual question answering 35 ; 16 and multimodal instruction following 24 ; 3 . In this paper, we focus on MLLMs that support multiple image inputs, such as GPT series 17 ; 19 . 2.2 Jailbreak Attacks on MLLMs Jailbreak attacks on MLLMs have emerged as an important direction for understanding their safety vulnerabilities 22 ; 14 ; 33 . Existing efforts can be broadly grouped into perturbation-based attacks and structure-based attacks. Perturbation-based attacks often craft adversarial images using gradient information from open-source proxy models to bypass safety alignment 22 ; 34 ; 32 . Although effective, these approaches often highly rely on the proxy models, and thus have limited transferability under black-box settings 26 . Structure-based attacks instead exploit the model’s visual understanding capabilities by embedding harmful intent into the image content. This line of work includes designs that replace unsafe textual instructions with visually rendered counterparts 7 ; 33 , and the use of query-related images produced by generative models 15 ; 14 . Such attacks leverage OCR and visual grounding to circumvent textual safety filters. Another line of jailbreak uses unrelated content to“distract” MLLMs to weakening their safety mechanisms 33 . While many MLLM jailbreaks have been proposed, approaches targeting multi-image inputs remain relatively unexplored. VideoJail 12 is the only existing multi-image jailbreak method to our knowledge. However, though multi-image in form, it simply extends related images to related videos, carrying substantial redundant information. Our paper proposes a jailbreak framework including three types of images, highlighting the vulnerabilities introduced by richer multimodal inputs. 3 Method 3.1 Preliminaries We focus on single-turn black box multimodal jailbreak, where the attacker can only interact with the target MLLM once and does not have access to the model’s internal parameters, gradients, logits, or system prompts. Formally, we denote an MLLM as M(\cdot) , which takes a textual prompt T and a visual prompt I as input, and generates a textual response y conditioned on the multimodal context in an autoregressive manner. In this paper, since we specifically focus on attacking MLLMs that support multiple image inputs, we use I_{1:m} to denote a sequence of m images. The following equation summarizes the multimodal generation process: y=M(T,I_{1:m}) (1) A safety criterion C(\cdot) (e.g., a judge LLM) assigns a binary label s\in\{0,1\} indicating whether the generated response y is harmful ( s=1 ) or harmless ( s=0 ). The jailbreak objective is formulated as: max\sum_{(T^{i},I_{1:m_{i}}^{i})\in D}C(M(T^{i},I_{1:m_{i}}^{i})). (2) where D is a dataset and (T^{i},I_{1:m_{i}}^{i}) is the i^{th} sample in D . 3.2 Motivation Many MLLMs support multi-image inputs, introducing new vulnerabilities due to less efforts on multi-image safety alignment. Jailbreak strategies, such as using typographic text, query-related images, or distraction techniques to circumvent safety mechanisms, can be further enhanced in multi-image settings. In response to this, we propose a compositional framework DMN that integrates three modules:

Read the complete text