All reports
mediumLogic errorOther

Kakarot: `ExponentiationImpl::pow()` returns `0` for `0^0`

Payout
$0
Protocol
Kakarot
Disclosed
Dec 10, 2024
Source
code4rena

Kakarot's Cairo `ExponentiationImpl::pow()` in `math.cairo` returns 0 for the input `0^0` when the conventional mathematical result is 1. The root cause is an ordering error: the function early-returns zero when the base is zero without first checking whether …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.