Skip to content
Preprint

Graph-Aware Fuzzing for Graph Database Management Systems

Jul 2026 · 0 citations · 43 references
Computer Science

TL;DR

GRAF, a black box fuzzing framework for GDBMS query engines, introduces graph context aware query generation based on cascading dependency resolution and applies five graph specific mutation operators guided by execution state feedback.

Abstract

Graph Database Management Systems (GDBMSs) are essential infrastructure for managing interconnected data. Existing GDBMS testing methods primarily rely on differential and metamorphic testing. The result consistency oracles of these methods constrain inputs to queries that are comparable across engines or transformations, leaving single engine runtime failures, such as crashes and memory errors, insufficiently explored. Developing dedicated fuzzers for GDBMSs faces two key challenges: (1) generating valid and structurally diverse queries under complex graph constraints, and (2) guiding exploration to capture topology dependent execution behavior. To address these challenges, we propose GRAF, a black box fuzzing framework for GDBMS query engines. First, GRAF introduces graph context aware query generation based on cascading dependency resolution. It instantiates parameterized Cypher skeletons generated by a Large Language Model (LLM) by jointly resolving labels, relationship types, properties, values, and variable scopes against the active graph state. This process produces structurally diverse queries while eliminating syntactic and semantic violations. Second, GRAF applies five graph specific mutation operators guided by execution state feedback, including execution time, result size, and system status. This feedback steers exploration away from unproductive queries and expensive traversals, while prioritizing local mutations around abnormal executions. We evaluated GRAF against three existing approaches on six widely used GDBMSs. GRAF consistently improves line coverage by 31.6% to 41.1% over the strongest baseline on each target. In 12 hour fuzzing, it triggered 25 unique bugs, compared to six from all baselines combined. Overall, GRAF discovered 34 previously unknown bugs, with 32 confirmed by developers and 23 assigned CVEs.

View source

Similar papers

Book Open access Apr 2026

DBcover: A White-box SQL Test Generation Framework for Coverage Improvement

DBcover is proposed, an LLM-driven database test generation framework that performs white-box, code-aware SQL test generation through contextual reasoning, and substantially outperforms existing fuzzers.

Yan-Kai Rong, Shuang Liu, Jin-Hao Dong et al. · 0 citations
Book Open access Aug 2026

Managing Time in Atemporal Labeled Property Graph Engines: Trade-offs in Representation Strategies

We investigate the data management of temporal property graphs on atemporal Labeled Property Graph (LPG) engines. While existing frameworks define temporal semantics, practitioners lack systematic empirical guidance on mapping these models to concrete representations in the absence of native engine support. We formalize two fundamental representation strategies implemented on top of standard LPG systems: a Versioning strategy that materializes temporal states via topological expansion, and a Property Lists strategy that encapsulates evolution through property-level compression. For each strategy, we define query translations for temporal evolution operators and analytical aggregations, and evaluate them across two heterogeneous real-world datasets. Our evaluation reveals a fundamental trade-off between topological selectivity and historical compactness: Versioning excels at high-throughput ingestion and short-window workloads but suffers from traversal amplification in dense graphs over long horizons, while Property Lists amortizes scan costs for read-heavy, multi-window analytics but incurs higher ingestion overhead and cannot support time-varying labels. We identify workload-dependent crossover points, showing how dataset density and structural volatility determine the superior strategy.

Fotios Kamanis, Georgia Koloniari, Evaggelia Pitoura · 0 citations
Preprint Aug 2026

DAGSmith: Dependency-Aware Rewriting for dbt-Style SQL Pipelines

DAGSmith is introduced, to the best of the authors' knowledge the first holistic dependency-aware source-to-source rewriting system for SQL pipeline DAGs and enables dependency-edge simplification, non-local semantic reuse, downstream-aware pruning, pipeline-aware work placement, rewrite-materialization co-optimization, and frequency-aware optimization.

Jie Liu, Lin Ma, Barzan Mozafari · 0 citations
#machine learning Preprint Aug 2026

ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning

ClosureBench is introduced, a constructive benchmark for compositional graph-relational reasoning with programmatically verified ground truth with programmatically verified ground truth: each task's reference answer is computed by executing a program in the Ein tensor-logic language, ensuring machine-verified correctness.

S. Goria · 0 citations
Jul 2026

ArbiGraph: Arbitrarily Scalable Verifiable Task Graphs for Evaluating Context Management

ARBIGRAPH is introduced, a benchmark generator for evaluating whether tool-assisted language agents can retain, update, compose, and discard task-relevant context across extended reasoning workflows, and shows that ARBIGRAPH exposes failures that are not visible from single-task evaluation alone.

Pavel Golikov, E. Opryshko, Gennady Pekhimenko et al. · 0 citations
Aug 2026

Balancing Richness and Reliability: An Explore-Construct-Verify Framework for API Knowledge Graph Construction

This work proposes Explore-Construct-Verify (ECV), a three-stage framework for API KG construction using large language models (LLMs), which preserves LLMs’ ability to discover domain-specific knowledge while enabling efficient post-hoc validation.

Yanbang Sun, Qing Huang, Zhenchang Xing et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.