← Lab /Security & privacy

D-SZZ automatically finds earlier vulnerability-introducing commits and boosts detection

D-SZZ outperforms existing SZZ and LLM baselines and improves vulnerability detector performance

Security & privacy arXiv 19 Nov 2026 Method Prototype evidence

Published as “Exploring Early Vulnerability Analysis via Automatic Identification of Vulnerability-Introducing Commits”

Why it matters

More accurate identification of vulnerability-introducing commits enables larger early-stage vulnerability datasets and improves detection of affected software versions, reducing exposure time for users.

Summary

D-SZZ raises recall for finding vulnerability-introducing commits by up to 13.64% over the best prior method (V-SZZ), but its precision remains modest (e.g., 28.78% on the NVD-new dataset). The paper evaluates on 783 manually annotated samples plus a larger 5,993-VFC set, showing higher F1 scores and better vulnerable-version identification, while also exposing many inaccurate NVD records.

What they found 2

  1. D-SZZ achieves higher recall than the best baseline V-SZZ across all evaluated datasets

    “Across the three manually annotated datasets and Linux dataset, D-SZZ achieves higher recall in identifying correct VICs than the best baseline, V-SZZ, by 13.64%, 8.91%, 10.40% and 6.63%, respectively.”

  2. D-SZZ outperforms baselines on F1-score for VIC identification

    “For F1score, D-SZZ outperforms by 6.70%, 11.93%, and 8.61% on the newly curated NVD-based dataset and two popular OSS projects.”

Caveats 4

  • Precision of D-SZZ is relatively low (28.78% on NVD-new), indicating many false positives despite higher recall.
  • LLM-based baselines perform inconsistently, achieving good results only on the Linux dataset where commit messages contain detailed VIC information.
  • Due to resource constraints, we cannot report every discrepancy to the NVD, as their process requires detailed documentation hosted on a public website.
  • The hardware capabilities will affect D-SZZ’s performance overhead; operations such as git clone, blame, and checkout consume network and disk resources.

What’s new here 4

  • Analyzes security-fixing patterns and builds a Code Property Graph to isolate vulnerability-related statements, avoiding reliance on deleted lines.
  • Introduces data- and control-flow slicing to capture pre-fix data states, enabling detection of fix-by-addition scenarios.
  • Backtracks these semantics through repository history to locate vulnerability-introducing commits.
  • Provides a manually annotated benchmark of 783 real-world VICs and demonstrates downstream benefits for early-stage vulnerability detection.