Lune

USENIX Security2024Top-tier venue

Critical Code Guided Directed Greybox Fuzzing for Commits

Yi Xiang, Xuhong Zhang, Peiyu Liu, Shouling Ji, Xiao Xiao, Hong Liang, Jiacheng Xu, Wenhai Wang

Abstract

Newly submitted commits are prone to introducing vulnerabilities into programs. As a promising countermeasure, directed greybox fuzzers can be employed to test commit changes by designating the commit change sites as targets. However, existing directed fuzzers primarily focus on reaching a single target and neglect the diverse exploration of the additional affected code. As a result, they may overlook bugs that crash at a distant site from the change site and lack directness in multi-target scenarios, which are both very common in the context of commit testing. In this paper, we propose WAFLGO, a direct greybox fuzzer, to effectively discover vulnerabilities introduced by commits. WAFLGO employs a novel critical code guided input generation strategy to thoroughly explore the affected code. Specifically, we identify two types of critical code: pathprefix code and data-suffix code. The critical code first guides the input generation to gradually and incrementally reach the change sites. Then while maintaining the reachability of the critical code, the input generation strategy further encourages the diversity of the generated inputs in exploring the affected code. Additionally, WAFLGO introduces a lightweight multitarget distance metric for directness and thorough examination of all change sites. We implement WAFLGO and evaluate it with 30 real-world bugs introduced by commits. Compared to eight state-of-the-art tools, WAFLGO achieves an average speedup of 10.3×. Furthermore, WAFLGO discovers seven new vulnerabilities including four CVEs while testing the most recent 50 commits of real-world software, including libtiff, fig2dev, and libming, etc.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Angora: Efficient Fuzzing by Principled Search
  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Scaling Security Testing by Addressing the Reachability Gap cites Directed Greybox Fuzzing
  • IDFuzz: Intelligent Directed Grey-box Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • IDFuzz: Intelligent Directed Grey-box Fuzzing cites Hawkeye: Towards a Desired Directed Grey-box Fuzzer
  • IDFuzz: Intelligent Directed Grey-box Fuzzing cites Directed Greybox Fuzzing
  • IDFuzz: Intelligent Directed Grey-box Fuzzing cites Angora: Efficient Fuzzing by Principled Search
  • PBFuzz: Agentic Directed Fuzzing for PoV Generation cites Scaling Security Testing by Addressing the Reachability Gap
  • PBFuzz: Agentic Directed Fuzzing for PoV Generation cites Hawkeye: Towards a Desired Directed Grey-box Fuzzer
  • Hawkeye: Towards a Desired Directed Grey-box Fuzzer cites Angora: Efficient Fuzzing by Principled Search
  • RustGo: Fairly Directed Greybox Fuzzing for Enforcing Rust Memory Safety cites Hawkeye: Towards a Desired Directed Grey-box Fuzzer
  • RustGo: Fairly Directed Greybox Fuzzing for Enforcing Rust Memory Safety cites Directed Greybox Fuzzing
  • Directed Greybox Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Coverage-based Greybox Fuzzing as Markov Chain cites Directed Greybox Fuzzing
  • Angora: Efficient Fuzzing by Principled Search cites Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating LLM-Based Regression Test Generation cites Scaling Security Testing by Addressing the Reachability Gap
  • Evaluating LLM-Based Regression Test Generation cites Directed Greybox Fuzzing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Evaluating LLM-Based Regression Test GenerationJing Liu, Seongmin Lee, Eleonora Losiouk, Marcel BöhmeFSE 2026 · 1 citation
  2. Scaling Security Testing by Addressing the Reachability GapGaetano Sapia, Marcel BöhmeICSE 2026
  3. IDFuzz: Intelligent Directed Grey-box FuzzingYiyang Chen, Chao Zhang, Long Wang, Wenyu Zhu et al.USENIX Security 2025
  4. PBFuzz: Agentic Directed Fuzzing for PoV GenerationHaochen Zeng, Andrew Bao, Jiajun Cheng, Chengyu SongCCS 2026
  5. RustGo: Fairly Directed Greybox Fuzzing for Enforcing Rust Memory SafetyDongyeon Yu, Jiun Min, Yewan Na, Mijung Kim et al.CCS 2026

Builds on27

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 citations
  3. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations
  4. QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang et al.USENIX Security 2018 · 537 citations
  5. Hawkeye: Towards a Desired Directed Grey-box FuzzerHongxu Chen, Yinxing Xue, Yuekang Li, Bihuan Chen et al.CCS 2018 · 335 citations

Related papers

  1. SelectFuzz: Efficient Directed Fuzzing with Selective Path ExplorationChanghua Luo, Wei Meng, Penghui LiS&P 2023
  2. Windranger: A Directed Greybox Fuzzer driven by Deviation Basic BlocksZhengjie Du, Yuekang Li, Yang Liu, Bing MaoICSE 2022 · 64 citations
  3. FuzzGuard: Filtering out Unreachable Inputs in Directed Grey-box Fuzzing through Deep LearningPeiyuan Zong, Tao Lv, Dawei Wang, Zizhuang Deng et al.USENIX Security 2020
  4. FISHFUZZ: Catch Deeper Bugs by Throwing Larger NetsHan Zheng, Jiayuan Zhang, Yuhang Huang, Zezhong Ren et al.USENIX Security 2023
  5. Critical Variable State-Aware Directed Greybox FuzzingXu Chen, Ningning Cui, Zhe Pan, Liwei Chen et al.ICSE 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines