Skip to content
DoS Audit finding Beginner

ETH redemptions via `SignatureRedeemQueue` are broken due to missing `receive` function

The SignatureRedeemQueue contract lacks a receive function, so when a user tries to redeem ETH, the vault's internal transfer of ETH to the queue reverts. This means ETH redemptions through Signature queues always fail.

0xShoonya Follow with 7, HeckerTrieuTien and 6 others

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2025-07-mellow-flexible-vaults-judging/issues/140

Found by

0xShoonya, 7, HeckerTrieuTien, ZanyBonzy, bourdillion, dan__vinci, edger, ke1caM, klaus

Summary

The SignatureRedeemQueue contract lacks a receive() function, causing ETH redemptions to fail.

Root Cause

This is the call flow of SignatureRedeemQueue.redeem when users attempt to redeem ETH:

JavaScript
SignatureRedeemQueue.redeem(...)
  └─ vault_.callHook(order.requested)
       └─ ShareModule.callHook(...)
            └─ TransferLibrary.sendAssets(asset, queue, assets)
                   • if asset == ETH  →  Address.sendValue(queue, assets)

ShareModule.callHook() ends with

JavaScript
if (!$.isDepositQueue[queue]) {
    TransferLibrary.sendAssets(asset, queue, assets);  // ETH goes here
}

If asset == ETH the helper executes Address.sendValue(payable(queue), assets) – an empty-data call to the queue contract.

Neither SignatureRedeemQueue nor SignatureQueue (base contract) implement either receive() or a payable fallback, so the ETH transfer would revert

Internal pre-conditions

N/A

External pre-conditions

N/A

Attack Scenario

N/A

Impact

ETH users cannot redeem through Signature queues - the transaction always fails.

Mitigation

Add a receive() function once in the shared base contract:

JavaScript
// SignatureQueue.sol
receive() external payable {}

Discussion

sherlock-admin2

The protocol team fixed this issue in the following PRs/commits: https://github.com/mellow-finance/flexible-vaults/pull/12

The original report as published on Sherlock, by 0xShoonya. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The SignatureRedeemQueue contract (and its base SignatureQueue) does not implement a receive() or payable fallback function, so it cannot accept ETH sent via a plain transfer.

Impact

ETH users cannot redeem through Signature queues because the transaction always fails.

What the attacker needed

User has ETH in a Signature queue

The fix

The protocol team fixed this issue by adding a receive() function to the shared base contract.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you redeem ETH from a vault, the vault sends ETH back to a queue contract. But that queue contract has no way to accept plain ETH transfers, so the transfer fails and the whole redemption reverts. This is like trying to send money to a bank account that does not exist.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by 0xShoonya

View all

8 more disclosed reports, best first.

More from Mellow Flexible Vaults

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.