Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: eb496d44
Paper published June 1, 2025
Entry analyzed July 14, 2025
Paper-reported evidence
Confidence: Source-linked

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

Variational Jailbreak Inference

VERA, a variational inference framework, enables the generation of diverse and fluent adversarial prompts that bypass safety mechanisms in large language models (LLMs). The attacker model, trained through a variational…

BibTeX citation

Paper-evaluated models(11)

Baichuan 2 7B, Gemini Pro, GPT-3.5 Turbo +8 more
  • Baichuan 2 7B
  • Gemini Pro
  • GPT-3.5 Turbo
  • Llama 2 13B
  • Llama 2 13B Chat
  • Llama 2 7B Chat
  • Llama 3 8B
  • Mistral 7B
  • Orca 2 7B
  • Vicuna 7B
  • Zephyr 7B

Description

VERA, a variational inference framework, enables the generation of diverse and fluent adversarial prompts that bypass safety mechanisms in large language models (LLMs). The attacker model, trained through a variational objective, learns a distribution of prompts likely to elicit harmful responses, effectively jailbreaking the target LLM. This allows for the generation of novel attacks that are not based on pre-existing, manually crafted prompts.

Examples

See Appendix C of arXiv:2506.22666 (opens in a new tab) for examples of adversarial prompts generated by VERA. These prompts successfully elicited harmful responses from various LLMs, including Vicuna-7B, Baichuan2-7B, and Orca2-7B.

Impact

Successful exploitation allows attackers to bypass LLM safety features, leading to the generation of harmful content, including but not limited to hate speech, the promotion of violence, and instructions for illegal activities. The generation of diverse and novel attacks compromises the robustness of existing safety mechanisms and necessitates the continuous development and adaptation of defenses.

Affected Systems

Various large language models (LLMs) are susceptible to this vulnerability, particularly open-source models and models with safety filters based on readily detected prompt patterns. The vulnerability is particularly pronounced in models trained with Reinforcement Learning from Human Feedback (RLHF) if their reward model is not sufficiently robust to adversarial attacks.

Mitigation Steps

  • Improve the training data for safety filters to include a diverse set of adversarial examples.
  • Develop more robust detection mechanisms that go beyond simple keyword matching or perplexity scoring.
  • Implement dynamic defenses that adapt to emerging attack strategies.
  • Utilize internal representation-based defenses (e.g., circuit breakers) to detect and mitigate harmful outputs.
  • Regularly audit and update safety mechanisms to address newly discovered vulnerabilities.

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
Model APIs
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Various large language models (LLMs) are susceptible to this vulnerability, particularly open-source models and models with safety filters based on readily detected prompt patterns. The vulnerability is particularly…

Research Paper

VERA: Variational Inference Framework for Jailbreaking 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/2506.22666