Glossary definition

Cross-frame memory starvation

Cross-frame memory starvation forces a call on Monad to fail: frames above it pre-consume most of MIP-3's shared 8 MB memory pool, and the call halts at the cap.

reviewed November 10, 2026

Monad’s MIP-3 caps the memory held at once by a call and all of its parent frames at 8 MB; a frame’s memory returns to the pool when the frame returns. Memory held by a caller, or by any frame above it, is unavailable to the call below; a call that reaches the cap halts exceptionally and consumes all the gas it was given. Ethereum has no memory cap: memory cost grows quadratically, which keeps memory use in check.

Unlike insufficient-gas griefing, the attack can choose the gas it provides, so the 1/64 of gas left after a failure does not limit what runs next; instead, the frame that handles the failure and the rest of the transaction must finish within the memory left in the pool. No opcode reports that memory. A contract is exposed when it maps an inner call’s failure to a default value that later logic trusts and an untrusted account can send a transaction that reaches that call; the called contract need not be malicious. ack3 found the class during a security review on Monad, named it, and reported it to the Monad Foundation; the cross-frame memory starvation write-up has the reproduction and the disclosure timeline.

Used in context

Articles using this term.