The LMVD-ID is an internal research identifier, not an official CVE identifier.
Best-of-N Prompt Augmentation
Large Language Models (LLMs) across multiple modalities (text, vision, audio) are vulnerable to a "Best-of-N" (BoN) jailbreaking attack. This attack repeatedly submits slightly modified versions of a harmful prompt…
Paper-evaluated models(13)
Claude 3 Opus, Claude 3.5 Sonnet, Cygnet +10 more
- Claude 3 Opus
- Claude 3.5 Sonnet
- Cygnet
- DiVA
- Gemini 1.5 Pro
- Gemini-1.5-flash-001
- Gemini-1.5-pro-001
- GPT-4o
- GPT-4o Mini
- GPT-4o Realtime
- Llama 3 8B
- Llama 3 8B Instruct
- Llama 3.1 8B
Description
Large Language Models (LLMs) across multiple modalities (text, vision, audio) are vulnerable to a "Best-of-N" (BoN) jailbreaking attack. This attack repeatedly submits slightly modified versions of a harmful prompt (e.g., text with altered capitalization, images with modified text style, audio with altered pitch or speed) until a safety mechanism is bypassed and a harmful response is elicited. The effectiveness of the attack scales with the number of attempts (N). While individual modifications may be innocuous, the cumulative effect of many variations increases the likelihood of bypassing safety filters.
Examples
The paper provides numerous examples across text, vision and audio modalities. See arXiv:2412.03556 (opens in a new tab). Specific examples are too numerous to include here, but involve simple modifications such as:
- Text: Random capitalization, character scrambling, character noise.
- Vision: Variations in image element colors, fonts, sizes and positions of image text.
- Audio: Changes to speed, pitch, and addition of background noise.
Impact
Successful exploitation allows attackers to circumvent LLM safety mechanisms and obtain harmful outputs, including but not limited to: instructions for creating harmful substances, malicious code generation, generation of personal information, and dissemination of misinformation. The impact is amplified by the multi-modal nature of the vulnerability.
Affected Systems
The paper evaluates text, vision, and audio systems including Claude 3.5 Sonnet, Claude 3 Opus, GPT-4o, GPT-4o Mini, GPT-4o Realtime, Gemini 1.5 Flash and Pro snapshots, Llama 3 8B, circuit-breaking defenses, Cygnet, and DiVA. The vulnerability affects both closed-source and open-source models with existing safety mechanisms.
Mitigation Steps
The paper does not offer specific mitigation strategies beyond suggesting that improved safety mechanisms are needed to counter the inherent vulnerability to input variations and the stochastic nature of LLM outputs. Potential mitigation approaches could include:
- Developing more robust safety filters that are less sensitive to small variations in input.
- Improving the accuracy of harm detection classifiers to reduce false positives.
- Adversarial training to increase model resilience against this type of attack.
- Implementing techniques that reduce the stochasticity of the model's responses.
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
- The paper evaluates text, vision, and audio systems including Claude 3.5 Sonnet, Claude 3 Opus, GPT-4o, GPT-4o Mini, GPT-4o Realtime, Gemini 1.5 Flash and Pro snapshots, Llama 3 8B, circuit-breaking defenses, Cygnet…
Research Paper
Best-of-N Jailbreaking
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
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/2412.03556Related research
- Bijection-Based LLM Jailbreak
Published October 1, 2024 · prompt-layer, jailbreak, blackbox
- Symbolic Math Jailbreak
Published September 1, 2024 · prompt-layer, jailbreak, blackbox
- Agentic Red-Teaming Uncovers Novel Jailbreaks
Published June 1, 2025 · model-layer, prompt-layer, jailbreak