Local open-weight LLM agents solve most easy vulnerability-reproduction tasks, need 27B model for hard ones
Small open-weight LLMs can reproduce vulnerabilities on easy tasks, while only a 27B model handles the hardest cases
AI/ML arXiv 4 Nov 2026 Measurement Prototype evidence
Published as “Analysis of Local Open-Weight LLM Agents on Vulnerability-Reproduction Tasks”
Why it matters
Practitioners can deploy local open-weight agents for automated vulnerability reproduction on modest hardware, but must use models of at least 27 B parameters for complex bugs and consider quantized serving to meet time constraints.
Summary
Local open-weight LLM agents can reproduce most easy vulnerabilities, but only models of at least 27 B parameters solve the harder tasks; quantization does not change which tasks are solved but speeds up execution, and mixture-of-experts models reach the same scores faster. The evidence comes from a controlled evaluation of 12 model configurations on 10 CyberGym tasks (360 runs, 3,501 candidate inputs), showing clear performance gaps by size and generation.
What they found 3
- All configurations, even the 4 B model, solve most of the six easier tasks.
“We show that every configuration, down to the 4B model, solves most of the six easier tasks, and configurations separate only on the remaining four.”
- The 27 B model is required to solve the harder tasks.
“For the harder tasks, the 27B model is required.”
- Quantization does not change which tasks are solved, only the speed of solving them.
“Quantization did not change what the models solved in any matched pair, but it changed how fast they got there, and the mixture of experts reached the same scores in less wall clock.”
Caveats 3
- The BF16 variant of the 27 B model fails to solve the two harder tasks because it hits the 7200 s wall-clock cap, while the faster FP8 variant succeeds.
- Quantization sometimes reduces success on easier tasks; e.g., the Qwen 3.8 27 B BF16 loses runs on the easy tasks compared to its FP8 counterpart.
- We restrict the evaluation to this subset because our protocol is expensive to run.
What’s new here 4
- First systematic evaluation of off-the-shelf open-weight models served locally on a single consumer GPU across size, architecture, and quantization dimensions for vulnerability-reproduction.
- Release of the full artifact: all agent trajectories, submitted inputs, and per-submission outcomes as a public dataset.
- Detailed analysis of quantization impact showing it affects wall-clock speed but not success rate in matched pairs.
- Trajectory case studies revealing that agents almost always form the correct hypothesis, with success hinging on turning that hypothesis into a working input.