The LMVD-ID is an internal research identifier, not an official CVE identifier.
Embedding-Guided LLM Jailbreak
A vulnerability in several large language models (LLMs), including Qwen2.5-7BInstruct, Llama3.1-8B-Instruct, and GPT-4 variants, allows for black-box jailbreaking via prompt engineering techniques that exploit the…
Paper-evaluated models(6)
GPT-3.5 Turbo, GPT-4o, GPT-4o Mini +3 more
- GPT-3.5 Turbo
- GPT-4o
- GPT-4o Mini
- Llama 3 8B Instruct
- Llama 3.1 8B Instruct
- Qwen 2.5 7B Instruct
Description
A vulnerability in several large language models (LLMs), including Qwen2.5-7BInstruct, Llama3.1-8B-Instruct, and GPT-4 variants, allows for black-box jailbreaking via prompt engineering techniques that exploit the proximity of benign and malicious prompt embeddings in the model's representation space. An attacker can craft prompts leveraging reinforcement learning to manipulate the embedding, causing the model to bypass its safety mechanisms and generate harmful or undesirable outputs while maintaining semantic consistency with the original prompt intent.
Examples
See the xJailbreak repository https://github.com/Aegis1863/xJailbreak (opens in a new tab) for examples of successful jailbreaking prompts and the reinforcement learning training process. Specific examples are provided in Appendix J of the research paper.
Impact
Successful exploitation allows attackers to bypass LLM safety restrictions, leading to the generation of malicious content, such as instructions for illegal activities, biased or discriminatory statements, or personally identifiable information. This compromises the intended safety and security of the LLM and can have severe consequences depending on the context of use.
Affected Systems
Large language models (LLMs) susceptible to black-box jailbreaking attacks based on embedding manipulation, including but not limited to: Qwen2.5-7BInstruct, Llama3.1-8B-Instruct, and GPT-4 variants.
Mitigation Steps
- Improve Embedding Space Analysis: Develop more robust techniques to differentiate benign and malicious prompt embeddings, making it harder for attackers to manipulate the representation space.
- Enhance Safety Mechanisms: Implement more sophisticated safety mechanisms that are less vulnerable to prompt engineering attacks and can better detect subtle variations in prompt intent.
- Regular Security Audits: Conduct frequent security audits and red teaming exercises involving techniques like reinforcement learning to identify and address vulnerabilities.
- Parameter Tuning: Careful tuning of reward functions and discount rates in reinforcement learning based safety mechanisms is crucial to balance short-term rewards and maintaining the model's intended behavior.
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) susceptible to black-box jailbreaking attacks based on embedding manipulation, including but not limited to: Qwen2.5-7BInstruct, Llama3.1-8B-Instruct, and GPT-4 variants.
Research Paper
xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM 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/2501.16727Related research
- Activation-Guided Local Editing Jailbreak
Published August 1, 2025 · model-layer, prompt-layer, jailbreak
- Multi-Turn Foot-In-The-Door Jailbreak
Published February 1, 2025 · prompt-layer, jailbreak, blackbox
- Attack LLMs with Toxic Answers
Published August 1, 2024 · model-layer, prompt-layer, injection