Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 2630cab6
Paper published October 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.

LLM Resource Exhaustion Jailbreak

Large Language Models (LLMs) are vulnerable to a novel jailbreak attack that exploits resource limitations. By overloading the model with a computationally intensive preliminary task (e.g., a complex character map…

BibTeX citation

Paper-evaluated models(8)

Llama 3 8B, Mistral 7B, Qwen 2.5 14B +5 more
  • Llama 3 8B
  • Mistral 7B
  • Qwen 2.5 14B
  • Qwen 2.5 32B
  • Qwen 2.5 7B
  • Qwen 2.5 3B
  • Qwen 2.5 72B
  • Vicuna7B-v0.3

Description

Large Language Models (LLMs) are vulnerable to a novel jailbreak attack that exploits resource limitations. By overloading the model with a computationally intensive preliminary task (e.g., a complex character map lookup and decoding), the attacker prevents the activation of the LLM's safety mechanisms, enabling the generation of unsafe outputs from subsequent prompts. The attack's strength is scalable and adjustable by modifying the complexity of the preliminary task.

Examples

See the paper's repository for code and detailed experimental setups. The attack involves crafting a prompt that includes:

  1. A character map with varying size, query length, and query count. The complexity of the encoding is controlled by these parameters.
  2. An encoded string using the character map.
  3. A masked instruction with a placeholder that will be replaced by the decoded string. The masked instruction is the malicious prompt.

The LLM processes the character map first, depleting resources such that subsequent safety checks are circumvented when the masked instruction is processed.

Impact

Successful exploitation allows an attacker to bypass LLM safety restrictions, leading to the generation of harmful, unethical, or illegal content. The attack's effectiveness depends on the LLM's resource constraints and the complexity of the preliminary task.

Affected Systems

Large Language Models (LLMs) that rely on resource-constrained safety mechanisms. Specific affected models include Llama 3-8B, Mistral-7B, Llama2, Vicuna-7B, and the Qwen2.5 family of models.

Mitigation Steps

  • Enhance LLM safety mechanisms to be more robust when under resource-intensive conditions.
  • Implement resource prioritization algorithms within LLMs to ensure sufficient resources for safety checks regardless of input complexity.
  • Develop techniques to detect and mitigate resource-exhaustion attacks.
  • Regularly update safety models to account for new attack strategies.

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
Large Language Models (LLMs) that rely on resource-constrained safety mechanisms. Specific affected models include Llama 3-8B, Mistral-7B, Llama2, Vicuna-7B, and the Qwen2.5 family of models.

Research Paper

Harnessing Task Overload for Scalable Jailbreak Attacks on 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/2410.04190