Home / Projects / Bug Composition

Bug Composition

Triggering Multiple Bugs with Agentic Driver Generation

AgenticDev 2026Mentored undergraduate co-authors

Attackers chain bugs. Most tools find them one at a time. Bug composition asks whether one input can trigger several distinct vulnerabilities in the same execution, which is a first test for a possible exploit chain.

3
libraries evaluated, tcpdump, libxml2, and nDPI
3
stages, two LLM stages followed by symbolic execution
SAT / UNSAT
concrete shared input, or proof that none exists
3
mentored undergraduates among the authors

Workflow

Given harnesses for two known bugs, an LLM agent first writes a predicate for each bug. A second LLM stage writes a driver that applies both predicates to one shared input. KLEE and an SMT solver then explore every combination. A satisfiable result yields a concrete input that triggers both bugs. An unsatisfiable result proves that the bugs need mutually exclusive inputs.

Bug Composition analysis workflow
The Bug Composition analysis workflow.

A concrete driver

The driver for a libxml2 bug pair shares one buffer and one length, couples the length to the bounds so that KLEE has to find a value satisfying both bugs, and ends with an assertion that makes KLEE produce a concrete witness.

Part of the bug harness for bug 18 in libxml2
Part of the bug harness (driver) for one libxml2 bug.

Results

The pipeline produced concrete shared inputs for bug pairs including heap buffer overflows in tcpdump, stack and heap memory corruptions in libxml2, and out-of-bounds reads across independent protocol dissectors in nDPI. It also proved the absence of shared inputs when bugs require mutually exclusive constraints.

Mentorship

The work grew out of a mentored research cohort at UC Santa Barbara. Three undergraduate students are co-authors, and the paper is their first peer-reviewed publication.

Cite

Vishva Arasan, Mahima Chaudhary, Wendy Contreras Martinez, Md Shafiuzzaman, Achintya Desai, Tevfik Bultan. Bug Composition: Triggering Multiple Bugs with Agentic Driver Generation. 1st International Workshop on Agentic AI for Next-Generation Software Development (AgenticDev), 2026. doi:10.1145/3843282.3844434.

← Back to home