mediumLogic errorEVM-Solidity
Collective: positionMapping for last element in heap is not updated when extracting max element
- Payout
- $0
- Protocol
- Collective
- Disclosed
- Feb 8, 2024
- Source
- code4rena
The protocol's custom MaxHeap implementation fails to update the internal position tracking (positionMapping) when extracting the maximum element under certain conditions. Specifically, if the replacement element (moved from the end of the heap to the root) do …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-12-revolutionprotocol-findings/issues/363
- https://github.com/code-423n4/2023-12-revolutionprotocol-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.