← Lab /AI/ML

Agent reconstructs vulnerability info for half of evaluated Linux binary patches

The authors claim their Patch2Vuln pipeline can locate a security-relevant function in 10 of 20 patches and assign the correct root-cause class in 11 of 20 cases.

AI/ML arXiv 7 May 2026 Method Prototype evidence

Published as “Patch2Vuln: Agentic Reconstruction of Vulnerabilities from Linux Distribution Binary Patches”

Why it matters

The work shows that LLM agents can assist in interpreting binary patches, but practical deployment will require improved diff coverage and validation tooling before it can replace human analysis.

Summary

Patch2Vuln localized a verified security-relevant function in only 10 of 20 security-update pairs and assigned an accepted root-cause label in 11 of 20, while six pairs failed before model reasoning and no crashes or memory-corruption proofs were produced; the evidence shows the approach works for some patches but is limited by binary-diff coverage and validation bottlenecks.

What they found 3

  1. The agent localized a verified security-relevant patch function in 10 of 20 security pairs and assigned an accepted final root-cause class in 11 of 20.

    “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.”

  2. Six security pairs failed before model reasoning because the binary differ or ranker omitted the right function.

    “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.”

  3. A bounded validation pass produced two minimized behavioral differentials for tcpdump but no crashes, timeouts, sanitizer findings, or memory-corruption proofs; all five negative controls were classified as unknown.

    “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.”

Caveats 6

  • Only half of the security updates (10/20) were successfully localized by the agent.
  • No run produced a crash, timeout, sanitizer finding, or memory-corruption proof, indicating no weaponized exploit was demonstrated.
  • Six of the security pairs failed before any model reasoning could occur due to diff/ranker coverage gaps.
  • binary-diff coverage and local behavioral validation remain the limiting components.
  • the harder bottlenecks are surfacing that function reliably and turning static reconstruction into local behavioral validation evidence.
  • The path forward is adjacent-version micro-diffs, better binary-diff coverage for small library patches, and candidate reachability tracing.

What’s new here 4

  • Introduces a candidate-centric agent architecture that turns per-function binary-diff dossiers into staged audit reports.
  • Implements a three-step audit loop (preliminary audit, bounded validation, final audit) with safe local execution of old/new binaries.
  • Evaluates the approach on real Ubuntu .deb binary updates without any source patches, advisories, or web access.
  • Provides detailed failure diagnostics separating diff/ranker misses from model-reasoning misses.