# EEF-CVE-2026-59252: Missing gas\_limit validation in mpp Tempo fee-payer enables wallet drain

- Database: EEF
- Published: 2026-07-17
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-59252](https://cve.now/CVE-2026-59252.md): Missing gas\_limit validation in mpp Tempo fee-payer enables wallet drain

## Also published as

- [GHSA-VJ8P-HP9X-GH47](https://cve.now/GHSA-VJ8P-HP9X-GH47.md) (GitHub)

## Affected versions

- mpp (Hex): from 0.2.0, fixed in 0.6.0

## Description

## Summary

Improper Validation of Specified Quantity in Input in ZenHive mpp allows an unauthenticated remote client to drain the fee-payer wallet, resulting in denial of service for legitimate clients.

When the `mpp` Elixir library is configured as fee payer (`fee_payer: true`), the `MPP.Methods.Tempo` payment method co-signs and broadcasts a client-supplied EVM transaction without first validating that the client-supplied `gas_limit` is sufficient to complete the intended call. A malicious client can submit a signed `transferWithMemo` transaction with `gas_limit` deliberately set just below the amount required for successful execution. The server co-signs the transaction and broadcasts it via `rpc_broadcast_sync`. The transaction runs out of gas during EVM execution and reverts, but the fee-payer wallet is still charged for the burned gas while the client pays nothing and receives no resource. Repeated requests from one or more malicious clients drain the fee-payer wallet at near-zero cost to the attacker, ultimately preventing the server from sponsoring gas for legitimate payment requests.

The `wait_for_confirmation = false` (optimistic) path is also affected: it invokes `simulate_payment_call` via `eth_call`, but that simulation omits the `gas` parameter and therefore does not catch out-of-gas conditions.

This issue affects mpp: from 0.2.0 before 0.6.0.

## Configurations

The vulnerable code path is only reachable when the `MPP.Methods.Tempo` method is configured with `fee_payer: true` (server-side gas sponsorship). Default deployments with `fee_payer: false` are not affected, since the client pays for gas out of its own wallet.

## References

- https://github.com/ZenHive/mpp/security/advisories/GHSA-vj8p-hp9x-gh47
- https://cna.erlef.org/cves/CVE-2026-59252.html
- https://github.com/ZenHive/mpp/commit/d29d54e507918db00a5b65d90136b73166c017d7
- https://github.com/ZenHive/mpp/commit/d84e3e528db39654540c2035ea0fbdf7b950d3d1
- https://hex.pm/packages/mpp

Page: https://cve.now/EEF-CVE-2026-59252

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
