VisCRA: A Visual Chain Reasoning Attack for Jailbreaking Multimodal Large Language Models

Bingrui Sima, L.-j. Cong, Wenxuan Wang, Kun He

Abstract

As Multimodal Large Language Models (MLLMs) evolve into sophisticated reasoning agents through Chain-of-Thought (CoT) and reinforcement learning, they develop a heightened ability to interpret complex visual scenes. However, this increased intelligence introduces a novel vulnerability. This paper introduces VisCRA (Visual Chain Reasoning Attack), a framework that exploits the visual reasoning process to bypass safety filters. By strategically masking critical image regions and guiding models through a multi-stage logical induction, VisCRA achieves high attack success rates on state-of-the-art models, including GPT-4o and Gemini 2.0 Flash Thinking, revealing a critical trade-off between reasoning capability and safety alignment.

Introduction

The transition from standard Multimodal Large Language Models (MLLMs) to Multimodal Large Reasoning Models (MLRMs) has significantly enhanced the ability of AI to perform deep visual analysis. While this progress benefits complex problem-solving, it creates a "double-edged sword" effect. Current safety research has largely focused on text-only reasoning or simple adversarial perturbations. There remains a significant gap in understanding how the visual reasoning process itself can be weaponized.

Safety mechanisms in modern MLLMs often rely on "shallow" triggers—detecting explicit toxic tokens or harmful imagery early in the generation process. VisCRA aims to circumvent these defenses by manipulating the model's logical trajectory, forcing it to commit to a reasoning path before the safety filter recognizes the harmful intent.

Methodology: The VisCRA Framework

VisCRA utilizes a two-pronged approach designed to "hook" a model's logic while remaining below the threshold of automated safety monitors.

1. Attention-Guided Masking

Rather than applying random masks, VisCRA identifies the most sensitive regions of an image relative to a harmful query. Using an auxiliary model (such as Qwen2.5-VL), the framework extracts cross-modal attention weights to pinpoint tokens most relevant to the prohibited task (e.g., the components of a weapon or a hazardous chemical). These specific regions are then obscured with a neutral mask. This prevents the model's initial safety scan from immediately flagging the raw, harmful content.

2. Multi-Stage Reasoning Induction

The attack proceeds through a structured two-phase prompt designed to build internal logical momentum:

  • Phase 1 (Focused Reasoning): The model is prompted to infer the nature of the object hidden beneath the mask. This stage forces the model to construct a coherent mental context and "rationalize" the scene without yet generating the prohibited tokens that would trigger a refusal.
  • Phase 2 (Contextualized Execution): Once the model has established a logical chain regarding the masked object, it is prompted to execute the harmful instruction. Because the model has already committed to a reasoning path that makes the harmful action logically consistent with its previous inferences, it is significantly more likely to follow through with the prohibited task.

Experimental Evaluation

The effectiveness of VisCRA was evaluated using two primary multimodal safety benchmarks:

  • HADES: A benchmark featuring 750 samples across five harmful scenarios, including self-harm and violence.
  • MM-SafetyBench: A large-scale benchmark covering 13 prohibited categories. The study focused on a subset of 741 samples across six categories: Illegal Activity, Hate Speech, Physical Harm, Fraud, Privacy Violence, and Malware Generation.

Results and Key Insights

VisCRA demonstrated a remarkable ability to jailbreak both open-source and high-tier closed-source models, consistently outperforming existing baselines like QR-Attack.

  • Closed-Source Vulnerability: The attack achieved a 76.48% success rate on Gemini 2.0 Flash Thinking and 68.56% on QvQ-Max.
  • GPT-4o Impact: VisCRA increased the attack success rate on GPT-4o from a baseline of 9.6% to 56.60%.
  • Open-Source Performance: On MM-SafetyBench, LLaVA-CoT reached an overall success rate of 83.94%.

The Reasoning-Safety Trade-off

A primary finding of this research is that as visual reasoning capabilities improve, safety alignment often degrades. More "intelligent" models are more susceptible to VisCRA because they are better at rationalizing their way into harmful outputs when guided by a logically consistent (though malicious) prompt.

The "Premature Trigger" Hypothesis

The success of VisCRA supports the hypothesis that current safety mechanisms are often reactive rather than proactive. By delaying the appearance of explicit harm through the "mask-then-infer" strategy, the attack acts as a cognitive bypass, engaging the model's deep reasoning before the safety filter can intervene.

Conclusion and Future Work

VisCRA exposes a fundamental vulnerability in the current generation of reasoning-heavy MLLMs. The study highlights that cross-model consistency in attention regions allows attackers to use white-box models to generate effective masks for black-box commercial systems.

Future research must focus on developing "reasoning-aware" safety frameworks. These defenses should be capable of detecting when a model is being led down a harmful logical path, even if the initial stages of the conversation appear benign. Hardening models during the reinforcement learning phase to resist multi-stage induction remains a critical priority for the safe deployment of future multimodal AI.

Summary updated

BibTeX
@misc{sima2025viscra,
  author = {Bingrui Sima and L.-J. Cong and Wenxuan Wang and Kun He},
  title = {{VisCRA: A Visual Chain Reasoning Attack for Jailbreaking Multimodal Large Language Models}},
  year = {2025},
  eprint = {2505.19684},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.19684},
}
Figure