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

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

Zeroth-Order MLLM Jailbreak

A vulnerability in multi-modal large language models (MLLMs) allows attackers to bypass safety mechanisms and elicit harmful responses using a memory-efficient zeroth-order optimization technique. The attack, termed…

BibTeX citation

Paper-evaluated models(4)

  • GPT-4o
  • Inf-mllm1
  • LLaVA 1.5
  • MiniGPT-4

Description

A vulnerability in multi-modal large language models (MLLMs) allows attackers to bypass safety mechanisms and elicit harmful responses using a memory-efficient zeroth-order optimization technique. The attack, termed Zer0-Jack, leverages simultaneous perturbation stochastic approximation (SPSA) with patch coordinate descent to generate malicious image inputs, even without access to the model's internal parameters (black-box setting).

Examples

See the supplementary materials of the research paper, including the Github repository [link to be inserted]. Specific examples demonstrating successful jailbreaks of MiniGPT-4, LLaVA1.5, INF-MLLM1, and GPT-4o are provided.

Impact

Successful exploitation allows attackers to circumvent safety protocols and obtain harmful outputs from MLLMs, including instructions for illegal activities, personal information disclosure, and generation of biased or toxic content. The memory efficiency of the attack makes it feasible to target even large language models.

Affected Systems

Multi-modal Large Language Models (MLLMs), including but not limited to, MiniGPT-4, LLaVA1.5, INF-MLLM1, and GPT-4o. Potentially affects any MLLM that accepts image inputs and reveals sufficient information through its API to allow for zeroth-order gradient estimation.

Mitigation Steps

  • Input Sanitization: Implement robust input sanitization and validation mechanisms to detect and filter malicious images. This could include analyzing image content for patterns associated with jailbreaking attacks.
  • API Restrictions: Limit or modify the API's response to prevent the leakage of information useful for zeroth-order gradient estimation. Restrict the types of responses returned and consider reducing the specificity of probability scores provided.
  • Output Filtering: Employ more sophisticated output filtering and moderation techniques to identify and suppress harmful responses, even for those that would otherwise appear natural or plausible. This should incorporate techniques that are robust to paraphrasing and variations in wording.
  • Defense Models: Utilize secondary models to judge the safety of generated outputs before they are delivered to the user. This requires the development of robust safety classifiers that are specific to the type of harmful content being generated.
  • Regular Security Audits: Conduct regular security audits and penetration testing to identify and address potential vulnerabilities in MLLMs and their APIs. These audits should specifically include testing for novel adversarial attack techniques.

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
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Multi-modal Large Language Models (MLLMs), including but not limited to, MiniGPT-4, LLaVA1.5, INF-MLLM1, and GPT-4o. Potentially affects any MLLM that accepts image inputs and reveals sufficient information through its…

Research Paper

Zer0-Jack: A Memory-efficient Gradient-based Jailbreaking Method for Black-box Multi-modal Large Language Models

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