Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 923641b8
Paper published January 1, 2025
Entry analyzed January 26, 2025
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Shuffle Inconsistency Jailbreak

Multimodal Large Language Models (MLLMs) exhibit a vulnerability where shuffling the order of words in text prompts or patches in image prompts can bypass their safety mechanisms, despite the model still understanding…

BibTeX citation

Paper-evaluated models(9)

Claude 3.5 Sonnet, Gemini 1.5 Pro, GPT-4o +6 more
  • Claude 3.5 Sonnet
  • Gemini 1.5 Pro
  • GPT-4o
  • InternVL 2 4B
  • InternVL 2 8B
  • InternVL 2 26B
  • MiniGPT-4
  • Qwen VL Max
  • VLGuard

Description

Multimodal Large Language Models (MLLMs) exhibit a vulnerability where shuffling the order of words in text prompts or patches in image prompts can bypass their safety mechanisms, despite the model still understanding the intent of the shuffled input. This "Shuffle Inconsistency" allows attackers to elicit harmful responses by submitting shuffled harmful prompts that would otherwise be blocked.

Examples

See the research paper "Jailbreaking Multimodal Large Language Models via Shuffle Inconsistency (opens in a new tab)". Specific examples are provided in the paper, showing how shuffling text and image components of harmful prompts leads to the MLLM generating harmful responses, bypassing its safety filters.

Impact

Attackers can bypass the safety mechanisms of MLLMs using this technique, leading to the generation of harmful content such as hate speech, instructions for illegal activities, or promotion of violence. This undermines the intended safety features of the models and poses a significant risk to users and the wider public. The impact is particularly pronounced against commercial closed-source MLLMs which often have additional outer safety guardrails.

Affected Systems

Multimodal Large Language Models (MLLMs), including both open-source and commercially available models. Specific examples mentioned in the research include GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, Qwen VL Max, MiniGPT-4, VLGuard, and InternVL 2 (4B, 8B, and 26B); the paper also evaluates LLaVA-NeXT without disclosing its exact checkpoint. The vulnerability is likely to affect other MLLMs exhibiting similar comprehension and safety mechanism architecture.

Mitigation Steps

  • Improved Safety Mechanisms: Develop more robust safety mechanisms that are less susceptible to being bypassed by input shuffling. This might involve utilizing more sophisticated content analysis techniques that are not easily fooled by simple reordering of inputs.
  • Input Sanitization: Implement preprocessing steps to detect and reject inputs that exhibit unusual word ordering or image patch arrangements indicative of malicious intent.
  • Ensemble Methods: Employ ensembles of different safety models to cross-validate and filter potentially harmful inputs based on whether a consensus amongst the different safety models agrees on its safety.
  • Adversarial Training: Train MLLMs with adversarial examples that include shuffled harmful prompts to improve their robustness against this type of attack. The research paper provides details on a dataset suitable for such training through the use of a "toxic judge" model.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Multimodal Large Language Models (MLLMs), including both open-source and commercially available models. Specific examples mentioned in the research include GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, Qwen VL Max…

Research Paper

Jailbreaking Multimodal Large Language Models via Shuffle Inconsistency

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2501.04931