highLogic errorEVM-Solidity
zkSync: `Mul/div` relation should not be enforced when divisor is zero
- Payout
- $0
- Protocol
- zkSync
- Disclosed
- Feb 29, 2024
- Source
- code4rena
In the zkSync Era zkEVM circuit, the mul/div opcode handler unconditionally enforces the algebraic relation dividend = quotient*divisor + remainder whenever a div is executed. Under the EraVM specification, division by zero must instead yield zero quotient and …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2023-10-zksync-findings/issues/598
- https://github.com/code-423n4/2023-10-zksync-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.