mediumLogic errorEVM-Solidity
Union Finance: Comptroller rewards can be artificially inflated and drained by manipulating [totalStaked - totalFrozen] (or: wrong rewards calculation)
- Payout
- $0
- Protocol
- Union Finance
- Disclosed
- Aug 7, 2026
- Source
- code4rena
Union Finance's Comptroller rewards system computed a user's effective staked amount as (totalStaked - totalFrozen), a value an attacker can shrink nearly to zero by staking a tiny additional amount that is never approved for anyone's loan. This tiny effective …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2021-10-union-findings/issues/78
- 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.