arXiv:2609.01186cs.CRSep 2026

Manuscript Offprint

arXiv:2609.01186

Smart Contracts Claimed Vulnerable by the CVE Database, with Labels and Source Locations

Monika di Angelo, Gernot Salzer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The Common Vulnerabilities and Exposures (CVE) database catalogs vulnerability claims in hard- and software, among them those pertaining to blockchain programs a.k.a. smart contracts. We present CVE-Smart-Contracts, a curated dataset of CVE records up to July 2026 referring to Ethereum smart contracts. The dataset contains the vulnerable artifacts (source code and runtime bytecode), labels according to three taxonomies, and function-level locations. The retrieval of CVE records, collection of additional evidence, validation of the correspondence between records and artifacts, label assignment, and vulnerability localization are automated, leaving 15% to manual analysis. The dataset does not validate the original vulnerability claims, but marks a few records obviously wrong as 'refuted'. For the sake of reproducibility, all external inputs are retained, so that rerunning the pipelines results in the same outputs. The dataset comprises 491 records linked to deployed contracts, 26 referring to projects (mostly libraries), 45 without validated artifacts, and six records with refuted claims. The dataset supports empirical security research, in particular the evaluation of code analysis and repair techniques.

Background & Summary

When developing and evaluating vulnerability detection techniques, there is a constant need for reliable test data: a collection of artifacts with a priori known properties, such as the types and locations of vulnerabilities, which allows us to compare the results of an automated analysis against this ground truth. Generated test data has the appeal of being comparatively cheap to obtain in large quantities and with controlled properties. At the same time, there is a danger of missing essential features of security issues 'in the wild'.

Real-world datasets are therefore attractive as a means of evaluating performance on cases that really occurred and may thus seem more realistic. Finding such instances, however, is like looking for a needle in a haystack: in large real-world collections, the vast majority of artifacts are typically negative samples that do not exhibit the desired property. Thus, unless there is already an established method for identifying positive instances, we depend on cases individually detected over time. In this paper, we search one collection of such cases, the CVE database [1], for all issues related to smart contracts.