genai
SECURITY LAB
IncidentsDirect injection

One Adversarial Image That Jailbreaks a Vision Model

Medium severityJune 2023LLM01: Prompt Injection
Status: Research demonstration (Qi, Huang, Panda, Henderson, Wang, Mittal — Princeton / Stanford); arXiv:2306.13213; AAAI 2024 Oral
On this page

A picture that looks like nothing in particular, optimised so the model's safety training simply falls away.

WhenJune 2023
TargetAligned vision-language models
ResearchersQi, Huang, Panda, Henderson, Wang, Mittal (Princeton / Stanford)
TechniqueUniversal visual adversarial jailbreak (arXiv:2306.13213)
StatusResearch demonstration; AAAI 2024 Oral
Attack flow
  1. 1An attacker optimises a single adversarial image against an aligned vision-language model
  2. 2A user (or the attacker) submits that image to the model
  3. 3The model's alignment collapses and it produces broad harmful output

What happened

In 2023, researchers demonstrated a universal visual jailbreak: a single adversarial image, optimised once, could unlock broad harmful behaviour from an aligned vision-language model — far more than the narrow objective it was tuned against. The image looks innocuous, but functions as a general-purpose key that switches off the model's safety alignment.

How the attack worked

The attacker optimises the pixels of an image so that, when the model perceives it, its aligned behaviour breaks down. Because an image is a continuous, high-dimensional input, there is far more room to search than in discrete text — making a single, transferable, universal jailbreak achievable.

Root cause

Alignment trained mostly on text doesn't cover the vastly larger space of adversarial images the model will also accept as input.

Why it matters

Any product that lets users upload images to a model inherits a jailbreak channel that text-only safety filters never see.

How to prevent it

  • Treat the image channel as untrusted; apply safety checks to multimodal inputs.
  • Filter outputs for policy violations regardless of which modality triggered them.
  • Assume alignment alone won't hold against optimised adversarial media.

FAQ

How is this different from hiding text in an image?

There's no readable instruction. An optimisation perturbs the image so the model's safety alignment collapses, and the effect generalises — one image unlocks many kinds of harmful output, not just one targeted response.

Why does adding vision expand the attack surface?

The continuous, high-dimensional space of an image gives an attacker far more room to optimise than discrete text does, so aligning a multimodal model is harder — a single crafted image can act as a universal jailbreak key.

How do you defend?

Don't treat the image channel as safe: add input/output safety checks that cover multimodal inputs, and assume alignment alone won't hold against optimised adversarial media.

No live replay yet
This incident is documented for reference — a hands-on lab that recreates this specific attack isn’t available yet. Browse the full database for incidents you can replay.