Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 47594139
Paper published May 1, 2024
Entry analyzed December 28, 2024
Paper-reported evidence
Confidence: Source-linked

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

Visual Modality Jailbreak

A vulnerability in multimodal large language models (MLLMs) allows for efficient jailbreaking attacks by leveraging visual input to bypass safety mechanisms. The attack constructs a multimodal model by adding a visual…

BibTeX citation

Paper-evaluated models(3)

  • ChatGLM 6B
  • GPT-3.5 Turbo
  • Mistral 7B

Description

A vulnerability in multimodal large language models (MLLMs) allows for efficient jailbreaking attacks by leveraging visual input to bypass safety mechanisms. The attack constructs a multimodal model by adding a visual module to the target LLM, then uses a modified PGD algorithm to optimize visual input to generate jailbreaking embeddings. These embeddings are then converted back into text and appended to harmful queries, successfully eliciting objectionable content from the target LLM.

Examples

See arXiv:2405.20015 (opens in a new tab) for details and experimental results. Specific examples are included in the provided research paper's datasets and code.

Impact

Successful exploitation allows attackers to circumvent the safety restrictions of LLMs, leading to the generation of harmful, biased, or otherwise objectionable content. This can be used for various malicious purposes, including disinformation campaigns, hate speech propagation, and the creation of illegal or unethical materials. The efficiency of the attack makes it relatively easy to perform against a wide range of LLMs.

Affected Systems

Large language models (LLMs) susceptible to prompt injection attacks, particularly those that can be extended to incorporate a visual module (e.g., LLAMA 2, GPT-3.5, etc.)

Mitigation Steps

  • Robust prompt filtering: Implement more sophisticated prompt filtering techniques that can detect and block malicious prompts, even those incorporating visual information.
  • Multimodal adversarial training: Train LLMs with adversarial examples that include both textual and visual inputs to improve robustness against this type of attack.
  • Visual input sanitization: Sanitize visual inputs before they are processed by the LLM to detect and remove malicious content.
  • Regular monitoring and updates: Regularly monitor LLMs for signs of jailbreaking attempts and deploy updates to address vulnerabilities as they are discovered.

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
Both white-box and black-box research contexts are tagged; consult the primary paper for target-specific access.
Related deployment categories
Agent workflows
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Large language models (LLMs) susceptible to prompt injection attacks, particularly those that can be extended to incorporate a visual module (e.g., LLAMA 2, GPT-3.5, etc.)

Research Paper

Efficient LLM-Jailbreaking by Introducing Visual Modality

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/2405.20015