Linkedin

Removing Buffer Overflow Vulnerabilities from Binary Code using an Integrity Checker System over the Binary’s Memory State Space

Date: 20/11/2026

Ibéria Medeiros, LASIGE integrated researcher, and the former LASIGE researcher Luís Ferreirinha, currently a PhD student at Vrije Universiteit Amsterdam, The Netherlands,  published a paper titled “BASICS: Binary Analysis and Stack Integrity Checker System for Buffer Overflow Mitigation”, in Elsevier Computers & Security, a top-ranked journal (impact factor 6.8 and H-index 148).

The paper presents BASICS, an approach that combines model checking and bounded concolic execution to automatically verify security properties of stack memory in binary code, trampoline-based binary repair and crash-inducing inputs for bounded patch validation. BASICS constructs a Memory State Space – MemStaCe– from the binary program’s control-flow graph and bounded concolic execution of C function calls and loops. Security properties, defined in Linear Temporal Logic, model vulnerable stack behaviours and allow the approach to identify violations in MemStaCe through counterexample traces. These vulnerabilities are then addressed using trampoline-based binary patching, and the resulting patches are validated using crash-inducing inputs extracted during concolic execution.

The paper is available here.