callback-exploitation

1 article
Sort: New Top Best
clear filter
0
vulnerability

A denial-of-service vulnerability in LayerZero's ONFT (ERC721) implementation allows attackers to freeze cross-chain token transfers by passing a malicious receiver contract that exhausts gas in the onERC721Received() callback, causing the message to block indefinitely at the Endpoint level. The issue stems from NonBlockingLzApp's insufficient gas reservation (1/64 of gasLimit) to handle failed message storage when all allocated gas is consumed.

LayerZero Stargate Immunefi OpenZeppelin ULNv1 NonBlockingLzApp ONFT OFT ERC721 ERC20
trust-security.xyz · Trust Security · 4 hours ago · details