mlsanityData to 7 Oct 2026

PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips

arXiv 2412.07192 ↗First posted 10 Dec 2024cs.CR cs.CL cs.LGcited by 3

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

  1. 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
  2. 2024Intention Analysis Makes LLMs A Good Jailbreak Defender12 Jan
  3. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
  4. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
  5. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  7. 2023Are aligned neural networks adversarially aligned?26 Jun

Other references · 52

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  9. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  10. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
  11. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  12. 2021Ethical and social risks of harm from Language Modelscited by 957
38 more
  1. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  2. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  3. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  4. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
  5. 2023Detecting Language Model Attacks with Perplexitycited by 411
  6. 2024tinyBenchmarks: evaluating LLMs with fewer examplescited by 295
  7. 2024Massive Activations in Large Language Modelscited by 277
  8. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
  9. 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
  10. 2024Stealing Part of a Production Language Modelcited by 152
  11. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 150
  12. 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 135
  13. 2022The Privacy Onion Effect: Memorization is Relativecited by 128
  14. 2019TBT: Targeted Neural Network Attack with Bit Trojancited by 112
  15. 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 109
  16. 2019Bit-Flip Attack: Crushing Neural Network with Progressive Bit Searchcited by 106
  17. 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysiscited by 87
  18. 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
  19. 2018How Important Is a Neuron?cited by 73
  20. 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelismcited by 69
  21. 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapescited by 63
  22. 2019Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attackscited by 55
  23. 2020DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flipscited by 53
  24. 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
  25. 2022TrojViT: Trojan Insertion in Vision Transformerscited by 30
  26. 2024Break the Breakout: Reinventing LM Defense Against Jailbreak Attacks with Self-Refinementcited by 25
  27. 2021RADAR: Run-time Adversarial Weight Attack Detection and Accuracy Recoverycited by 18
  28. 2023Aegis: Mitigating Targeted Bit-flip Attacks against Deep Neural Networkscited by 17
  29. 2023One-bit Flip is All You Need: When Bit-flip Attack Meets Model Trainingcited by 14
  30. 2022Versatile Weight Attack via Flipping Limited Bitscited by 13
  31. 2017Another Flip in the Wall of Rowhammer Defensescited by 11
  32. 2020TRRespass: Exploiting the Many Sides of Target Row Refreshcited by 11
  33. 2021RA-BNN: Constructing Robust & Accurate Binary Neural Network to Simultaneously Defend Adversarial Bit-Flip Attack and Improve Accuracycited by 11
  34. 2015DRAMA: Exploiting DRAM Addressing for Cross-CPU Attackscited by 10
  35. 2015Rowhammer.js: A Remote Software-Induced Fault Attack in JavaScriptcited by 9
  36. 2021HASHTAG: Hash Signatures for Online Detection of Fault-Injection Attacks on Deep Neural Networkscited by 9
  37. 2021Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implicationscited by 7
  38. 2021Don't Knock! Rowhammer at the Backdoor of DNN Modelscited by 6

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025BitBypass: A New Direction in Jailbreaking Aligned Large Language Models with Bitstream Camouflage
  2. 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
  3. 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attacks
  4. 2025Single-pass Detection of Jailbreaking Input in Large Language Models
  5. 2024textitMMJ-Bench: A Comprehensive Study on Jailbreak Attacks and Defenses for Multimodal Large Language Models
  6. 2026TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language Models
  7. 2026Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing
  8. 2025CCJA: Context-Coherent Jailbreak Attack for Aligned Large Language Models