← Lab /Software

LLM patching benchmarks overstate success; developer-aligned fixes stay low

LLMs achieve high proof-of-concept pass rates but low developer-test pass rates, and benchmark scores are highly sensitive to evaluation design

Software arXiv 7 Oct 2026 Measurement Prototype evidence

Published as “On the Reliability of LLM-Based Vulnerability Patching Benchmarks”

Why it matters

Benchmark scores for LLM vulnerability patching may overstate actual repair quality, so future evaluations must include developer-intent tests and fully disclose harness configurations.

Summary

LLM-based vulnerability patching benchmarks dramatically overstate true repair quality: while models achieve high proof-of-concept (PoC) pass rates, their developer-test pass rates remain low and improve only marginally with newer models. The authors curated a 112-case, multi-language dataset with PoCs, regression tests, and developer-authored tests, and showed that seemingly minor benchmark design choices (e.g., providing build instructions, tool permissions, or PoC framing) can shift reported PoC-pass rates by up to 20 %. Consequently, headline numbers are highly sensitive to evaluation pipeline choices rather than model capability alone.

What they found 3

  1. LLMs can achieve high PoC-passing rates but low developer-test passing rates, indicating superficial fixes.

    “while LLMs can achieve high PoC passing rates in ideal scenarios, many factors in executing a benchmark can noticeably lower the success rate. Moreover, their developer’s test passing rates remain low and improve only marginally with newer models, revealing that models are increasingly adept at suppressing symptoms but not at producing patches that satisfy upstream developer-authored tests.”

  2. Providing detailed build and test instructions in the prompt raises PoC-pass rates by about 20 % for C/C++ bugs.

    “supplying these instructions raises PoC-pass rates by ≈20% in C/C++ cases and by a far smaller margin in Go/Rust cases”

  3. Benchmark scores are highly sensitive to evaluation design choices, so two studies on the same dataset can report substantially different numbers.

    “Because different harness configurations can shift PoC-pass rates by up to 20 % (§5.1), two studies on the same dataset can report substantially different numbers without either being wrong.”

Caveats 5

  • Developer-test pass rates stay low despite high PoC pass rates, undercutting claims of true vulnerability remediation.
  • Simple prompt changes (adding build instructions) can boost PoC success by ~20 %, showing that headline scores depend on evaluation setup rather than model ability.
  • Our dataset is intentionally small and highly curated: 112 cases across C/C++, Go, and Rust, restricted to projects with reproducible Dockerized builds, executable PoCs, and developer-added tests.
  • we do not claim that the absolute pass rates reported here generalize to the full population of real-world bugs or to benchmark suites in other language ecosystems.
  • Developer’s tests are a stronger oracle than PoC-only evaluation, but they are not a perfect proxy for patch acceptability.

What’s new here 4

  • Provides a controlled, multi-language dataset of real-world security bugs with developer-authored tests, not just PoCs.
  • Systematically isolates and quantifies the impact of agent-level, framework-level, and dataset-level factors on benchmark outcomes.
  • Demonstrates that prompt engineering (e.g., build/test instructions) can change PoC-pass rates by ~20 % in C/C++ cases.
  • Surveys existing LLM patching benchmarks and reveals that all miss at least one of the identified pitfalls.