PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
We study a new vulnerability in commercial-scale safety-aligned large language models (LLMs): their refusal to generate harmful responses can be broken by flipping only a few bits in model parameters. Our attack jailbreaks billion-parameter language models with just 5 to 25 bit-flips, requiring up to 40× fewer bit flips than prior attacks on much smaller computer vision models. Unlike prompt-based jailbreaks, our method directly uncensors models in memory at runtime, enabling harmful outputs without requiring input-level modifications. Our key innovation is an efficient bit-selection algorithm that identifies critical bits for language model jailbreaks up to 20× faster than prior methods. We evaluate our attack on 10 open-source LLMs, achieving high attack success rates (ASRs) of 80-98% with minimal impact on model utility. We further demonstrate an end-to-end exploit via Rowhammer-based fault injection, reliably jailbreaking 5 models (69-91% ASR) on a GDDR6 GPU. Our analyses reveal that: (1) models with weaker post-training alignment require fewer bit-flips to jailbreak; (2) certain model components, e.g., value projection layers, are substantially more vulnerable; and (3) the attack is mechanistically different from existing jailbreak methods. We evaluate potential countermeasures and find that our attack remains effective against defenses at various stages of the LLM pipeline.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 59 of its 106 references that are in the map. First posted on arXiv 10 Dec 2024.
Builds on
59 of 106 references.
Closest ancestors · 7
Same direction, newest first
- 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
- 2024Intention Analysis Makes LLMs A Good Jailbreak Defender12 Jan
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Are aligned neural networks adversarially aligned?26 Jun
Other references · 52
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2021Ethical and social risks of harm from Language Modelscited by 957
38 more
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023Detecting Language Model Attacks with Perplexitycited by 411
- 2024tinyBenchmarks: evaluating LLMs with fewer examplescited by 295
- 2024Massive Activations in Large Language Modelscited by 277
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
- 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
- 2024Stealing Part of a Production Language Modelcited by 152
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 150
- 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 135
- 2022The Privacy Onion Effect: Memorization is Relativecited by 128
- 2019TBT: Targeted Neural Network Attack with Bit Trojancited by 112
- 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 109
- 2019Bit-Flip Attack: Crushing Neural Network with Progressive Bit Searchcited by 106
- 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysiscited by 87
- 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
- 2018How Important Is a Neuron?cited by 73
- 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelismcited by 69
- 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapescited by 63
- 2019Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attackscited by 55
- 2020DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flipscited by 53
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2022TrojViT: Trojan Insertion in Vision Transformerscited by 30
- 2024Break the Breakout: Reinventing LM Defense Against Jailbreak Attacks with Self-Refinementcited by 25
- 2021RADAR: Run-time Adversarial Weight Attack Detection and Accuracy Recoverycited by 18
- 2023Aegis: Mitigating Targeted Bit-flip Attacks against Deep Neural Networkscited by 17
- 2023One-bit Flip is All You Need: When Bit-flip Attack Meets Model Trainingcited by 14
- 2022Versatile Weight Attack via Flipping Limited Bitscited by 13
- 2017Another Flip in the Wall of Rowhammer Defensescited by 11
- 2020TRRespass: Exploiting the Many Sides of Target Row Refreshcited by 11
- 2021RA-BNN: Constructing Robust & Accurate Binary Neural Network to Simultaneously Defend Adversarial Bit-Flip Attack and Improve Accuracycited by 11
- 2015DRAMA: Exploiting DRAM Addressing for Cross-CPU Attackscited by 10
- 2015Rowhammer.js: A Remote Software-Induced Fault Attack in JavaScriptcited by 9
- 2021HASHTAG: Hash Signatures for Online Detection of Fault-Injection Attacks on Deep Neural Networkscited by 9
- 2021Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implicationscited by 7
- 2021Don't Knock! Rowhammer at the Backdoor of DNN Modelscited by 6
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025BitBypass: A New Direction in Jailbreaking Aligned Large Language Models with Bitstream Camouflage
- 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attacks
- 2025Single-pass Detection of Jailbreaking Input in Large Language Models
- 2024textitMMJ-Bench: A Comprehensive Study on Jailbreak Attacks and Defenses for Multimodal Large Language Models
- 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
- 2026Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing
- 2025CCJA: Context-Coherent Jailbreak Attack for Aligned Large Language Models