Not your Type! Detecting Storage Collision Vulnerabilities in Ethereum Smart Contracts
Nicola Ruaro, Fabio Gritti, Robert McLaughlin, Ilya Grishchenko, Christopher Kruegel, Giovanni Vigna
Abstract
—In recent years, the Ethereum blockchain has seen significant growth and adoption. One of the key factors of its success is the possibility to run immutable programs known as smart contracts . Smart contracts allow for the automatic manipulation of digital assets and play a central role in the new decentralized finance (DeFi) ecosystem. With the growth of DeFi, the interactions between smart contracts have become increasingly complex, enabling advanced financial protocols and applications. However, bugs in smart contract interactions are also a common cause of critical vulnerabilities that result in considerable financial losses. In this paper, we study and detect a type of cross-contract vulnerability known as a storage collision . A smart contract uses storage to persistently store its data on the blockchain. Typically, each contract has its own separate storage. However, it is also possible that two smart contracts share their storage (using a delegate call). Unfortunately, when these two contracts have different understandings of the types/semantics of their shared storage, a storage collision vulnerability can occur. This may lead to unexpected behavior such as denial of service (frozen funds), privilege escalation, and theft of financial assets. To detect and investigate the impact of storage collision vulnerabilities at scale, we propose C RUSH , a novel analysis system that discovers these flaws and synthesizes proof-of-concept exploits. We leverage C RUSH to perform a large-scale analysis of 14,237,696 smart contracts deployed on the Ethereum blockchain since its genesis. C RUSH identifies 14,891 potentially vulnerable contracts and automatically synthesizes an end-to-end exploit for 956 of them. Our system uncovers more than $6 million of novel, previously unreported potential financial damage caused by storage collision vulnerabilities.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Incredible Shrinking Context... in a Decompiler Near You cites An Empirical Study of Proxy Contracts at the Ethereum Ecosystem Scale
- The Incredible Shrinking Context... in a Decompiler Near You cites Precise Static Identification of Ethereum Storage Variables
- Precise Static Identification of Ethereum Storage Variables cites The Incredible Shrinking Context... in a Decompiler Near You
- The Incredible Shrinking Context... in a Decompiler Near You cites Ethainter: a smart contract security analyzer for composite vulnerabilities
- An Empirical Study of Proxy Contracts at the Ethereum Ecosystem Scale cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- An Empirical Study of Proxy Contracts at the Ethereum Ecosystem Scale cites SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
- Precise Static Identification of Ethereum Storage Variables cites An Empirical Study of Proxy Contracts at the Ethereum Ecosystem Scale
- Precise Static Identification of Ethereum Storage Variables cites Ethainter: a smart contract security analyzer for composite vulnerabilities
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts cites The Incredible Shrinking Context... in a Decompiler Near You
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts cites Ethainter: a smart contract security analyzer for composite vulnerabilities
- Ethainter: a smart contract security analyzer for composite vulnerabilities cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi Protocols cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi Protocols cites Ethainter: a smart contract security analyzer for composite vulnerabilities
- HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi Protocols cites VerX: Safety Verification of Smart Contracts
- HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi Protocols cites SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts cites teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- EVMPatch: Timely and Automated Patching of Ethereum Smart Contracts cites Ethainter: a smart contract security analyzer for composite vulnerabilities
Cited by top-tier papers9
- An Empirical Study of Proxy Contracts at the Ethereum Ecosystem ScaleMengya Zhang, Preksha Shukla, Wuqi Zhang, Zhuo Zhang et al.ICSE 2025 · 5 citations
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source ContractsSen Yang, Kaihua Qin, Aviv Yaish, Fan ZhangCCS 2026 · 3 citations
- Precise Static Identification of Ethereum Storage VariablesSifis Lagouvardos, Yannis Bollanos, Michael Debono, Neville Grech et al.ICSE 2026 · 2 citations
- HOUSTON: Real-Time Anomaly Detection of Attacks against Ethereum DeFi ProtocolsDongyu Meng, Fabio Gritti, Robert McLaughlin, Nicola Ruaro et al.NDSS 2026 · 2 citations
- The Incredible Shrinking Context... in a Decompiler Near YouSifis Lagouvardos, Yannis Bollanos, Neville Grech, Yannis SmaragdakisISSTA 2025 · 1 citation
Builds on14
- teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 citations
- VerX: Safety Verification of Smart ContractsAnton Permenev, Dimitar Dimitrov, Petar Tsankov, Dana Drachsler-Cohen et al.S&P 2020 · 251 citations
- Ethainter: a smart contract security analyzer for composite vulnerabilitiesLexi Brent, Neville Grech, Sifis Lagouvardos, Bernhard Scholz et al.PLDI 2020 · 163 citations
- SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng et al.S&P 2022 · 142 citations
- EVMPatch: Timely and Automated Patching of Ethereum Smart ContractsMichael Rodler, Wenting Li, Ghassan O. Karame, Lucas DaviUSENIX Security 2021 · 103 citations
Related papers
- Confusum Contractum: Confused Deputy Vulnerabilities in Ethereum Smart ContractsFabio Gritti, Nicola Ruaro, Robert McLaughlin, Priyanka Bose et al.USENIX Security 2023
- CollisionRepair: First-Aid and Automated Patching for Storage Collision Vulnerabilities in Smart ContractsYu Pan, Wanjing Han, Yue Duan, Mu ZhangUSENIX Security 2025
- Detecting Smart Contract State-Inconsistency Bugs via Flow Divergence and Multiplex Symbolic ExecutionYinxi Liu, Wei Meng, Yinqian ZhangFSE 2025 · 1 citation
- On Identifying Sound Conditions for Frontrunning ResistanceSebastian Holler, Anna Piscitelli, Jannik Albrecht, Stephan Dübler et al.CCS 2026
- Uncover the Premeditated Attacks: Detecting Exploitable Reentrancy Vulnerabilities by Identifying Attacker ContractsShuo Yang, Jiachi Chen, Mingyuan Huang, Zibin Zheng et al.ICSE 2024 · 24 citations
