← Lab /Systems

LLM-driven fuzzing finds 37 DBMS bugs, including 7 hidden feature flaws

FuzzySQL uncovers 37 vulnerabilities across several DBMSs, with 7 tied to under-tested special features

Systems arXiv 23 Feb 2026 Method Prototype evidence

Published as “FuzzySQL: Uncovering Hidden Vulnerabilities in DBMS Special Features with LLM-Driven Fuzzing”

Why it matters

FuzzySQL enables security teams to automatically surface deep, state-dependent DBMS bugs that conventional fuzzers miss, leading to timely CVE disclosures and vendor patches.

Summary

FuzzySQL uncovered 37 distinct bugs across five open-source DBMSs, with 29 confirmed by vendors and 9 assigned CVE identifiers, including 7 bugs tied to under-tested DBMS special features. The framework achieves higher code-coverage growth than three fuzzers (Squirrel, EET, SQLancer) within a 24-hour budget, especially on MySQL, MariaDB and PostgreSQL. An ablation shows that logic-shifting mutation and semantic repair are critical for early bug discovery. The paper does not include an explicit limitations section.

What they found 3

  1. FuzzySQL discovered 37 vulnerabilities, 7 of which target under-tested DBMS special features

    “We evaluate FuzzySQL across multiple DBMSs, including MySQL, MariaDB, SQLite, PostgreSQL and Clickhouse, uncovering 37 vulnerabilities, 7 of which are tied to under-tested DBMS special features.”

  2. 29 bugs were confirmed by vendors and 9 received CVE identifiers

    “In total, FuzzySQL discovered 37 distinct bugs, among which 29 have been confirmed by vendors and 9 have been assigned CVE identifiers.”

  3. 20 of the 29 confirmed bugs (68.96%) are logic-sensitive, showing the impact of logic-shifting mutation

    “Using this criterion, 20 out of 29 bugs (68.96%) are logicsensitive, indicating that logic mutation is a major contributor to vulnerability discovery.”

Caveats 2

  • On SQLite and ClickHouse, the advantage is less pronounced, which can be attributed to the lightweight feature set of SQLite and the highly optimized execution engine of ClickHouse, where EET benefits from generating deeply nested analytical queries.
  • Only 7 of the confirmed bugs are related to under-tested DBMS special features, meaning the majority of discovered bugs are not feature-specific.

What’s new here 4

  • LLM-driven instantiation of vendor-specific SQL constructs beyond fixed grammars
  • Logic-shifting progressive mutation that flips conditions to explore alternative control paths
  • Hybrid error-repair pipeline that combines rule-based patching with LLM semantic fixes
  • Global execution-state tracking with replay to detect persistent, state-dependent failures