mediumInteger overflow/underflowEVM-Solidity
Superposition: Unintended under/overflow of the amount already swapped in/out due to unmatching logic
- Payout
- $0
- Protocol
- Superposition
- Disclosed
- Oct 18, 2024
- Source
- code4rena
In Superposition's Rust-based DEX implementation (Seawater), swap step calculations used standard addition and subtraction operators on signed 256-bit integers (`state.amount_calculated`) inside the swap loop. In Rust release builds, native arithmetic operatio …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-08-superposition-findings/issues/50
- https://github.com/code-423n4/2024-08-superposition-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.