5uGUE

pronounced "fugue"

An AI agent that runs the whole fuzzing loop against real phones, over real radio. It found far more crashes than the hand-built fuzzer, including new vulnerabilities the vendors confirmed.

Tested on five 5G phones and one Bluetooth chip.

5uGUE Tools: search, papers, memory MiniPC + SDR acting as a rogue base station 5G phone MediaTek, UNISOC modem firmware writes a test over the air Modem Crash device logs [ASSERT] file:mcu/l1/nl1/internal/md97/src/tx/nr_tx_mngr_mcu.c line:817

The same loop runs against a Bluetooth chip (ESP32). Only the test tool and the prompt change.

Background

Fuzzing means sending a program deliberately malformed input and watching for crashes.

There were an estimated 2.9 billion 5G subscriptions at the end of 2025. Each phone has a modem: a separate chip, with closed-source firmware, that handles the radio link. The modem processes some messages from the base station before encryption is established, and continues processing messages after encryption is enabled. In this work, we mainly focus on the messages processed before encryption is established. To test it, we run our own base station, send the phone modified messages, and check its logs for crashes.

Three approaches

Conventional fuzzing

Experts write rules for mutating packets. The fuzzer applies them.

LLM-assisted fuzzing

A language model handles one step, such as writing starting inputs. The rest of the loop is fixed.

5uGUE

The agent runs every step: research, writing the test, sending it, reading the logs, choosing the next test.

Step controlled by an LLM

Example run

5uGUE V3 with Claude Sonnet 4.6 against a OnePlus Nord CE 2 (MediaTek Dimensity 900). 60 turns, 95 tests, 104 minutes.

Turn 0 / 60Crashes 0

Each column is one turn. A filled column is a turn that ran tests. Each gold dot is one crash. Counts and timings are from run 059c9b96.

Setup

A lab bench with a blue RF shield box, a small white USRP B210 radio and a black mini PC, connected by cables. 1 2 3
The bench, with the shield box closed.
The RF shield box open, with a smartphone lying on its floor, connected by a USB cable. 4
The shield box open, with the phone inside.
  1. Software-defined radio (USRP B210). Acts as the base station's radio.
  2. Mini PC. Runs the rogue base station and the 5uGUE agent.
  3. RF shield box. Keeps the test signal off the air outside the box.
  4. Target phone

Results

We tested 5uGUE on five off-the-shelf 5G phones and compared it with 5Ghoul, the previous state-of-the-art fuzzer. The numbers below compare the best runs of each. 5uGUE ran for 60 agent turns (49 to 133 minutes), 5Ghoul for 150 minutes.

12.8×more total crashes167 vs 13
5.2×more unique crashes31 vs 6
2phones where 5Ghoul found zero crashesof 5 tested

Crashes per phone

5uGUE5Ghoul

Total crashes, mean of five runs.

Results vary between runs and between models. The firmware is closed, so the logs show where a crash happened but not always why.

Model choice

Evaluated on six models.

Total crashes on the OnePlus Nord CE 2, mean of five runs.

Impact

As of October 2026

46unique, reproducible crashes across MediaTek and UNISOC basebandsall denial of service
44confirmed by the vendors as already-known issues36 MediaTek · 8 UNISOC
2new high-severity vulnerabilities confirmed by MediaTekCVE-2026-20525 · CVE-2026-68693

Citation

If you use 5uGUE in your work, please cite:

@misc{5ugue,
  title         = {5uGUE: Agentic Hardware-in-the-Loop Fuzzing for 5G Devices and beyond},
  author        = {Guoqiang Hua and Sakshi Udeshi and Matheus Eduardo Garbelini and Daisuke Mashima and Sudipta Chattopadhyay},
  year          = {2026},
  url           = {https://arxiv.org/abs/2610.29155}
}

Contact

For any questions / comments please email guoqiang.hua@ntu.edu.sg.