← Lab /Software

Veritas achieves 90% recall and near-zero false positives for binary memory corruption detection

Veritas can detect memory corruption vulnerabilities in stripped binaries with 90% recall and almost no false positives, including a new Apple CVE

Software arXiv 14 May 2026 Method Prototype evidence Threat model

Published as “Veritas: A Semantically Grounded Agentic Framework for Memory Corruption Vulnerability Detection in Binaries”

Why it matters

The framework shows that grounding LLM reasoning in explicit binary semantics can make automated vulnerability discovery practical for stripped binaries.

Summary

Veritas detects memory-corruption bugs in stripped binaries with 90% recall (18/20) and essentially no false positives (zero in exhaustive validation, two in a sampled audit of larger cases). The evidence comes from a curated 20-sample benchmark and comparisons against seven strong baselines, showing far higher recall and comparable precision, though the dataset is small and validation is costly.

Caveats 4

  • identify 2 false positives (Table 7).
  • This process is inherently labor-intensive: constructing the current dataset required over 40 person-days of expert effort, excluding build and regression-test engineering overhead.
  • Logic flaws, side channels, and severe lifting or decompilation failures that prevent analyzable LLVM-IR and decompiled artifacts are out of scope.
  • The current evaluation focuses on out-of-bounds reads and writes.

What’s new here 3

  • Combines a static slicer over lifted LLVM-IR with a dual-view LLM detector that also uses decompiled C, providing explicit interprocedural flow grounding.
  • Introduces a multi-agent runtime validator that confirms candidate vulnerabilities via debugger-visible artifacts and concrete execution evidence.
  • Applies semantic grounding to binary-only analysis, enabling detection without source code and outperforming both static, dynamic, and agentic baselines.

Threat model stated by the source

Adversarycontrols program inputs to a binary through file, command-line, or network channels and seeks to trigger a memory-corruption condition
Capabilityprovides malicious inputs; does not have source code
AssumesVeritas has access to the target stripped binary; validation runs in an isolated execution environment; evaluation limited to out-of-bounds reads and writes