paper-with-me

홈 › Papers

Patch2Vuln: Agentic Reconstruction of Vulnerabilities from Linux Distribution Binary Patches

2026-05-07 · Isaac David, Arthur Gervais arxiv

Security updates create a short but important window in which defenders and attackers can compare vulnerable and patched software. Yet in many operational settings, the most accessible artifacts are binary packages rather than source patches or advisory text. This paper asks whether a language-model agent, restricted to local binary-derived evidence, can reconstruct the security meaning of Linux distribution updates. Patch2Vuln is a local, resumable pipeline that extracts old/new ELF pairs, diffs them with Ghidra and Ghidriff, ranks changed functions, builds candidate dossiers, and asks an offline agent to produce a preliminary audit, bounded validation plan, and final audit. We evaluate Patch2Vuln on 25 Ubuntu .deb package pairs: 20 security-update pairs and five negative controls, all manually adjudicated against private source-patch and binary-function ground truth. The agent localizes a verified security-relevant patch function in 10 of 20 security pairs and assigns an accepted final root-cause class in 11 of 20. Oracle diagnostics show that six security pairs fail before model reasoning because the binary differ or ranker omits the right function, with one additional context-export miss. A separate bounded validation pass produces two target-level minimized behavioral old/new differentials, both for tcpdump, but no crash, timeout, sanitizer finding, or memory-corruption proof; all five negative controls are classified as unknown and produce no validation differentials. These results support agentic vulnerability reconstruction from binary patches as a useful research target while showing that binary-diff coverage and local behavioral validation remain the limiting components.

📄 PDF Abstract BibTeX arXiv:2605.06601

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

What Do They Fix? LLM-Aided Categorization of Security Patches for Critical Memory Bugs

2025-09-26 · Xingyu Li, Juefei Pu, Yifan Wu, Xiaochen Zou 외 arxiv

Open-source software projects are foundational to modern software ecosystems, with the Linux kernel standing out as a critical exemplar due to its ubiquity and complexity. Although security patches are continuously integ…

VulnLLMEval: A Framework for Evaluating Large Language Models in Software Vulnerability Detection and Patching

2024-09-16 · Arastoo Zibaeirad, Marco Vieira

Large Language Models (LLMs) have shown promise in tasks like code translation, prompting interest in their potential for automating software vulnerability detection (SVD) and patching (SVP). To further research in this …

C++ codeCode TranslationVulnerability Detection

Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAG

2024-06-17 · Xueying Du, Geng Zheng, Kaixin Wang, Yi Zou 외

Although LLMs have shown promising potential in vulnerability detection, this study reveals their limitations in distinguishing between vulnerable and similar-but-benign patched code (only 0.06 - 0.14 accuracy). It shows…

RAGRetrieval-augmented GenerationVulnerability Detection

Chai: Agentic Discovery of Cryptographic Misuse Vulnerabilities

2026-06-25 · Corban Villa, Sohee Kim, Austin Chu, Alon Shakevsky 외 arxiv

AI-assisted vulnerability discovery has proven effective for bug classes like memory safety, where instrumentation confirms memory violations and efficiently filters false positives. Many dangerous vulnerability classes,…

ZeroDayBench: Evaluating LLM Agents on Unseen Zero-Day Vulnerabilities for Cyberdefense

2026-03-02 · Nancy Lau, Louis Sloot, Jyoutir Raj, Giuseppe Marco Boscardin 외 arxiv

Large language models (LLMs) are increasingly being deployed as software engineering agents that autonomously contribute to repositories. A major benefit these agents present is their ability to find and patch security v…