mediumInteger overflow/underflowEVM-Solidity
NextGen: `getPrice` `salesOption` 2 can round down to the lower barrier, skipping the last time period
- Payout
- $0
- Protocol
- NextGen
- Disclosed
- Jan 8, 2024
- Source
- code4rena
The `getPrice` function in the NextGen protocol contains an off-by-one error in its price decay calculation for `salesOption` 2, causing the token price to jump to its minimum value prematurely. This occurs because the conditional check uses a strict greater-t …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-10-nextgen-findings/issues/271
- https://github.com/code-423n4/2023-10-nextgen-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.