CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?
Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song
Abstract
Security fixes usually reach users as compiled updates, but deployment delays leave unpatched systems exposed. During this window, comparing patched and unpatched binaries can reveal how to exploit a vulnerability, turning a defensive update into actionable information for attackers. Existing benchmarks do not measure this capability: they expose source code, rely on human-crafted challenges, or evaluate binary comprehension without requiring exploitation. We introduce CyberBinGym, a benchmark containing 100 tasks derived from real vulnerabilities in 53 widely used projects, spanning six vulnerability families and three levels of analysis complexity. Agents receive stripped vulnerable and patched binaries without source code or vulnerability information, and must combine static and dynamic analysis to recover and exploit the vulnerability. Evaluation separately measures vulnerability recovery through differential crash testing and end-to-end exploitation through flag retrieval, with trajectory audits to reject reward hacking. The strongest evaluated agent recovers the target vulnerability in 88% of tasks and exploits it in 20%. Providing the patched binary raises its exploit rate from 10% to 25% on a matched 20-task subset; with standard binary hardening enabled, it still exploits two of its 20 previously successful tasks. These results demonstrate that current agents can turn released binary patches into working exploits in a controlled setting, although exploitation remains unreliable. These capabilities lower the barriers to targeting unpatched software and compress defenders' effective response window, increasing the urgency of timely patch deployment.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.LG
Related papers
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
Shared title terminologycs.CRManit Baser, Vyoman Jain, Rachel Yeo Hui Min et al.
Agentic-Level Adversarial Purification: Revisiting Diffusion Purifiers on Native-Resolution Agentic Inputs
Shared title terminologycs.CRYan Lin, Zhongliang Guo, Jingyu Lin et al.
The Detour Is the Danger: Preserving Security During LLM Agent Recovery
Shared title terminologycs.CRBoyang Ma, Jinku Li, Hao Wu et al.
PRECEPT: Security Self-Improvement of Coding Agents via Evolving Principles
Shared title terminologycs.CRKeyan Guo, Rupam Patir, Haipeng Cai et al.
Benchmarking Open-Ended Vulnerability Discovery in Windows Kernel Binaries
Shared title terminologycs.CRJongseong Kim, Hwiwon Lee, Dongjun Kim et al.
Poisoning Self-Evolving Security Policies in LLM Agents
Shared title terminologycs.CRAymen Noor, Honglu Jiang