Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study
Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 657-677
DOI: 10.1145/3797125 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Jingdong Guo und 6 weiteren Autor:innen. Die Arbeit nennt 51 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).
Abstract (Originalsprache)
Firmware lies at the heart of IoT devices. Its development depends heavily on third-party libraries (TPLs), which greatly accelerate the process but simultaneously introduce associated vulnerabilities. Binary Code Similarity Detection (BCSD) is an effective technique for identifying vulnerabilities in firmware by comparing pairs of code segments. However, existing studies either evaluate their performance only on small-scale datasets or lack diversity in terms of vulnerabilities, TPLs, and firmware. Consequently, a comprehensive understanding of BCSD for real-world vulnerability detection remains absent. To bridge this gap, we conduct a large-scale study of vulnerability detection across 60,000 firmware images from 200 vendors using BCSD. Rather than introducing a novel model, we examine the influence of four key factors—vulnerable function versions, vulnerability search space, function sizes, and compilation toolchains on BCSD performance. Our results reveal that these factors substantially affect performance, often by wide margins. To address this, we propose a build-aware query strategy that derives queries from representative real-world binaries, effectively closing the gap and raising the mean reciprocal rank (MRR) from 0.818 to 0.981. Furthermore, we demonstrate that a TPL-aware, two-stage search process significantly enhances accuracy, improving MRR by 18.5% by limiting the search space.
Zitieren
APA
Guo, J., Dong, C., Ren, Y., Li, S., Liu, J., Li, H., & Zhu, H. (2026). Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study. Proceedings of the ACM on Software Engineering, 3(FSE), 657-677. https://doi.org/10.1145/3797125
Vancouver
Guo J, Dong C, Ren Y, Li S, Liu J, Li H, et al. Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study. Proceedings of the ACM on Software Engineering. 2026;3(FSE):657-677. doi:10.1145/3797125
BibTeX
@article{Guo2026,
author = {Guo, Jingdong and Dong, Chaopeng and Ren, Yimo and Li, Siyuan and Liu, Jie and Li, Hong and Zhu, Hongsong},
title = {Understanding Binary Code Similarity for Real-World Vulnerability Detection: A Large-Scale Empirical Study},
journal = {Proceedings of the ACM on Software Engineering},
year = {2026},
volume = {3},
number = {FSE},
pages = {657--677},
doi = {10.1145/3797125}
}
EUVIMED