mlsanityData to 14 Oct 2026

The History Is the Detector: Executing CVE Patch History, End-to-End

arXiv 2609.05335 ↗First posted 4 Sep 2026cs.CR cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Public vulnerability databases collect rich information about known software flaws, including their weakness types, affected components, and related patches. Fixing commits provide the exact code changes that removed these flaws. While these records capture why the original code was unsafe, they are documented mainly for human inspection rather than automated reuse. Consequently, the same unsafe conditions may still exist elsewhere in code without a known advisory, leaving much of this detection knowledge unused. We present BUGSTONE-E2E, a framework that transforms vulnerability history into executable detection rules and validates their findings. First, BUGSTONE-E2E mines reusable rules from verified fixing commits, capturing scan anchors, fix semantics, and CVE provenance and organizing them by CWE and language. Second, detection follows a funnel-shaped pipeline: early stages process a large pool of candidates using lightweight analysis, while later stages apply increasingly capable and expensive models to a shrinking set of targets. Specifically, BUGSTONE-E2E first enumerates call sites matching rule anchors using Tree-sitter, then removes benign sites using lightweight heuristics without LLM calls. Next, LLM-based agents inspect the remaining candidates guided by the rule. Following this inspection, the system re-triages surviving candidates and builds runtime verifications, then generates scope-checked patches validated via two-sided differential tests. Using 19,325 high-severity CVEs from 2022 to 2026, BUGSTONE-E2E identifies 2,710 fixing commits and constructs 1,033 detection rules across 56 CWE families, packaged into 172 skills. When applied across 14 programs, it produced runtime evidence for 644 findings. These results demonstrate that CVE history can be turned into an executable workflow, transforming past vulnerabilities into reproducible detection and repair.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 47 of its 89 references that are in the map. First posted on arXiv 4 Sep 2026.

Builds on

47 of 89 references.

References · 47

  1. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  2. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
  3. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 103
  4. 2025CVE-Bench: A Benchmark for AI Agents' Ability to Exploit Real-World Web Application Vulnerabilitiescited by 96
  5. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 92
  6. 2021CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Softwarecited by 91
  7. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 68
  8. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 59
  9. 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositoriescited by 31
  10. 2024MegaVul: A C/C++ Vulnerability Dataset with Comprehensive Code Representationcited by 27
  11. 2022Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability Detectioncited by 19
  12. 2025VulnRepairEval: An Exploit-Based Evaluation Framework for Assessing Large Language Model Vulnerability Repair Capabilitiescited by 12
35 more
  1. 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
  2. 2026SoK: DARPA's AI Cyber Challenge (AIxCC): Competition Design, Architectures, and Lessons Learnedcited by 9
  3. 2026SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?cited by 9
  4. 2025QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilitiescited by 7
  5. 2026Patch-to-PoC: A Systematic Study of Agentic LLM Systems for Linux Kernel N-Day Reproductioncited by 7
  6. 2023Uncovering CWE-CVE-CPE Relations with Threat Knowledge Graphscited by 6
  7. 2025One Bug, Hundreds Behind: LLMs for Large-Scale Bug Discoverycited by 6
  8. 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 5
  9. 2026Sifting the Noise: A Comparative Study of LLM Agents in Vulnerability False Positive Filteringcited by 5
  10. 2026How Much Can Repeated Running Buy? A Measured Variance Ceiling for LLM Code Evaluationcited by 5
  11. 2024VulZoo: A Comprehensive Vulnerability Intelligence Datasetcited by 4
  12. 2024SeCodePLT: A Unified Platform for Evaluating the Security of Code GenAIcited by 4
  13. 2025LLM Agents for Automated Web Vulnerability Reproduction: Are We There Yet?cited by 4
  14. 2025RulePilot: An LLM-Powered Agent for Security Rule Generationcited by 4
  15. 2026RealVuln: Benchmarking Rule-Based, General-Purpose LLM, and Security-Specialized Scanners on Real-World Codecited by 4
  16. 2026SastBench: A Benchmark for Testing Agentic SAST Triagecited by 3
  17. 2026Multi-Agent Taint Specification Extraction for Vulnerability Detectioncited by 3
  18. 2026DREA: Decoupled Reasoning and Exploration Agents for Repository-Level Vulnerability Detectioncited by 3
  19. 2026Vul4Py: Benchmarking Automated Vulnerability Repair in Python with Paired Exploit and Functional Oraclescited by 3
  20. 2025FalseCrashReducer: Mitigating False Positive Crashes in OSS-Fuzz-Gen Using Agentic AIcited by 2
  21. 2026Multi-Agent End-to-End Vulnerability Management for Mitigating Recurring Vulnerabilitiescited by 2
  22. 2026QRS: A Rule-Synthesizing Neuro-Symbolic Triad for Autonomous Vulnerability Discoverycited by 2
  23. 2026Contextualizing Sink Knowledge for Java Vulnerability Discoverycited by 2
  24. 2026TitanCA: Lessons from Orchestrating LLM Agents to Discover 100+ CVEscited by 2
  25. 2026Revisiting Vul-RAG: Reproducibility and Replicability of RAG-based Vulnerability Detection with Open-Weight Modelscited by 2
  26. 2026VulnGym: Benchmarking Coding Agents for Repository-Level Vulnerability Detectioncited by 2
  27. 2026Antares: Foundation Models for Agentic Vulnerability Localizationcited by 2
  28. 2026Why LLMs Fail: A Failure Analysis and Partial Success Measurement for Automated Security Patch Generationcited by 1
  29. 2026RuleForge: Automated Generation and Validation for Web Vulnerability Detection at Scalecited by 1
  30. 2026Taint-Style Vulnerability Detection and Confirmation for Node.js Packages Using LLM Agent Reasoningcited by 1
  31. 2026VeriPort: Automated and Verified Patch Backporting at Scalecited by 1
  32. 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoringcited by 1
  33. 2026RECEIPT: Deterministic, Reward-Hacking-Resistant Verification for White-Box Agentic XSS Discoverycited by 1
  34. 2026Graph Is the Verifier: Agentic Reinforcement Learning for Interprocedural Vulnerability Detectioncited by 1
  35. 2026AgenticRepair: Multi-Faceted Program Context Engineering for Agentic Vulnerability Repaircited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026TraceVIC: Causal Reasoning over Code Evolution for Identifying Vulnerability-Inducing Commits
  2. 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysis
  3. 2025Code Change Intention, Development Artifact and History Vulnerability: Putting Them Together for Vulnerability Fix Detection by LLM
  4. 2026PatchHolmes: Agentic Patch Retrieval via Listwise Selection
  5. 2026AutoTrace: From Patches to Triggers via Agentic Interprocedural Exploration
  6. 2025AutoPatch: Multi-Agent Framework for Patching Real-World CVE Vulnerabilities
  7. 2026VulValidate: Auditing Function-Level Vulnerability Labels with Executable Evidence
  8. 2026VICBench: A Multi-Language Benchmark for Code Vulnerability Detection