Enhancing Protocol Fuzzing via LLM-Generated Semantic-Aware Mutators
Keyi WangYiutak ChoiPengda LiCZChijin ZhouHaiying SunCWChengcheng Wan
Ting Su
Geguang Pu Keyi Wang
Yiutak Choi
Pengda Li
CZChijin Zhou
Haiying Sun
CWChengcheng Wan

Ting Su

Geguang Pu
+8
This paper presents LEMUR-Fuzz, a system that enhances mutation-based protocol fuzzing with protocol-specific, semantic-aware mutators rather than general-purpose ones. It uses LLMs to generate four components—message templates, parsers/reassemblers, semantic-aware field-level mutators, and constraint fixers—enabling raw-byte parsing, semantic field mutation, cross-field constraint repair, and reassembly, so that generated messages are valid and reach deeper protocol states. Three automated quality checkers (metamorphic, parseability, and constraint-violation) validate these LLM-generated components. Implemented on AFLNet and evaluated on twelve implementations across ten protocols, LEMUR-Fuzz improves average branch coverage by 6.93% and 5.28% over AFLNet and ChatAFL, and uncovers a previously unknown vulnerability in the latest Mosquitto, confirmed and fixed by developers.

arXiv ·
· November 27, 2026