mediumLogic errorEVM-Solidity
Union Finance: Wrong implementation of `CreditLimitByMedian.sol#getLockedAmount()` will lock a much bigger total amount of staked tokens than expected
- Payout
- $0
- Protocol
- Union Finance
- Disclosed
- Aug 7, 2026
- Source
- code4rena
Union Finance's CreditLimitByMedian credit model computed per-staker locked amounts incorrectly: in getLockedAmount() the isIncrease branch iterates over every covering staker and adds the full drawn amount to each staker's lockedAmount individually. With ten …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2021-10-union-findings/issues/81
- https://github.com/code-423n4/2021-10-union-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.