{"id":"CVE-2026-59252","aliases":["CVE-2026-59252","GHSA-vj8p-hp9x-gh47","EEF-CVE-2026-59252"],"related":[],"kind":"vulnerability","state":"published","title":"Missing gas_limit validation in mpp Tempo fee-payer enables wallet drain","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.\n\nWhen 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.\n\nThe 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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nWhen 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.\n\nThe 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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.0.","source":"cvelist"},{"lang":"en","text":"## Vulnerability\nWhen the server acts as the fee payer, `mpp` Elixir 0.4.0 (ZenHive/mpp) does not validate whether the `gas_limit` set by the client is enough before broadcasting. A malicious client can drain the server's gas without paying.\n\nA `transferWithMemo` call on Tempo Moderato testnet requires **~51,299 gas** to complete successfully. By setting `gas_limit = 51,298`:\n\n1. The Tx gets cosigned and broadcast by the server.\n2. The Tx runs out of gas during EVM execution. All state reverts.\n3. The server's fee-payer wallet is charged for gas used.\n4. The client pays nothing and receives no resource.\n\n```bash\n# Run the PoC\nunzip mpp_elixir_low_gas_PoC.zip\ncd mpp_elixir_low_gas_PoC\ndocker build -t mpp-elixir-low-gas .\ndocker run --rm mpp-elixir-low-gas\n```\n\n**Zero-Cost DoS Attack:** Unlike gas draining with `access list` or `padding`, where the malicious client needs to complete a payment to drain the gas, this vulnerability allows malicious users to continuously drain the server's gas at virtually no financial cost (requiring only computing power). Therefore, an attacker can spawn *N* malicious clients to completely drain the funds from the server's wallet to perform a Denial of Service (DoS) attack. Once the server's wallet is empty, it has no more funds to pay the gas fees for upcoming requests from legitimate clients. \n\n```bash\n# Run the DoS PoC\nunzip mpp_elixir_low_gas_dos_PoC.zip\ncd mpp_elixir_low_gas_dos_PoC\ndocker build -t mpp-elixir-dos .\ndocker run --rm mpp-elixir-dos\n```\n\n**Vulnerable code path:** `broadcast_and_verify/7` in `mpp/methods/tempo.ex` (ZenHive/mpp 0.4.0).\nWhen `wait_for_confirmation = true` (the default), it calls `rpc_broadcast_sync` directly without any gas-adequacy check or simulation. The alternative `wait_for_confirmation = false` path does call `simulate_payment_call` via `eth_call`, but that simulation omits the `gas` parameter and therefore does not catch out-of-gas conditions.\n\n## Impact\nA malicious client can drain the server's wallet without any financial cost.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nImproper 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.\n\nWhen 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.\n\nThe `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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.0.\n\n## Configurations\n\nThe 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Validación Incorrecta de Cantidad Especificada en la Entrada en ZenHive mpp permite a un cliente remoto no autenticado vaciar la billetera del pagador de tarifas, lo que resulta en denegación de servicio para clientes legítimos.\n\nCuando la biblioteca mpp Elixir está configurada como pagador de tarifas (fee_payer: true), el método de pago MPP.Methods.Tempo co-firma y transmite una transacción EVM suministrada por el cliente sin validar primero que el gas_limit suministrado por el cliente sea suficiente para completar la llamada prevista. Un cliente malicioso puede enviar una transacción transferWithMemo firmada con el gas_limit deliberadamente establecido justo por debajo de la cantidad requerida para una ejecución exitosa. El servidor co-firma la transacción y la transmite a través de rpc_broadcast_sync. La transacción se queda sin gas durante la ejecución de EVM y se revierte, pero a la billetera del pagador de tarifas aún se le cobra por el gas quemado mientras que el cliente no paga nada y no recibe ningún recurso. Solicitudes repetidas de uno o más clientes maliciosos vacían la billetera del pagador de tarifas a un costo casi nulo para el atacante, lo que en última instancia impide que el servidor patrocine gas para solicitudes de pago legítimas.\n\nLa ruta wait_for_confirmation = false (optimista) también se ve afectada: invoca simulate_payment_call a través de eth_call, pero esa simulación omite el parámetro gas y por lo tanto no detecta las condiciones de falta de gas.\n\nEste problema afecta a mpp: desde 0.2.0 antes de 0.6.0.","source":"nvd"}],"published":"2026-07-17T10:11:54.436Z","modified":"2026-11-25T17:23:15.097Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-20","CWE-1284"],"affected":[{"ranges":[{"type":"semver","introduced":"0.2.0","fixed":"0.6.0","status":"affected"}],"vendor":"ZenHive","product":"mpp","package":"mpp","cpe":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","repo":"https://github.com/ZenHive/mpp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"d29d54e507918db00a5b65d90136b73166c017d7","fixed":"d84e3e528db39654540c2035ea0fbdf7b950d3d1","status":"affected"}],"vendor":"ZenHive","product":"mpp","package":"zenhive/mpp","cpe":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","repo":"https://github.com/ZenHive/mpp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.2.0","status":"affected","fixed":"0.6.0"}],"ecosystem":"Hex","package":"mpp","purl":"pkg:hex/mpp","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.2.0","status":"affected","fixed":"0.6.0"}],"ecosystem":"Hex","package":"mpp","purl":"pkg:hex/mpp","source":"eef"},{"ranges":[{"type":"git","introduced":"d29d54e507918db00a5b65d90136b73166c017d7","status":"affected","fixed":"d84e3e528db39654540c2035ea0fbdf7b950d3d1"}],"repo":"https://github.com/ZenHive/mpp","source":"eef"}],"references":[{"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-vj8p-hp9x-gh47","tags":["advisory","exploit","related","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-59252.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-59252","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZenHive/mpp/commit/d29d54e507918db00a5b65d90136b73166c017d7","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ZenHive/mpp/commit/d84e3e528db39654540c2035ea0fbdf7b950d3d1","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://github.com/ZenHive/mpp","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/ZenHive/mpp/releases/tag/v0.6.0","tags":["web"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/mpp","tags":["package"],"sources":["eef"]}],"credits":["Kian Kai Ang","Jonatan Männchen / EEF","E.FU"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-17T12:21:12.801Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59252","url":"https://www.cve.org/CVERecord?id=CVE-2026-59252","licence":"CVE Terms of Use","modified":"2026-11-24T05:45:30.702Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vj8p-hp9x-gh47","url":"https://github.com/advisories/GHSA-vj8p-hp9x-gh47","licence":"CC-BY-4.0","modified":"2026-09-25T23:00:31.010Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-59252","url":"https://osv.dev/vulnerability/EEF-CVE-2026-59252","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:15.097Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59252","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59252","licence":"Public domain","modified":"2026-11-24T06:17:09.607Z"}],"updatedAt":"2026-11-25T22:59:28.478Z","epss":{"score":0.0063,"percentile":0.44646,"date":"2026-11-30T12:00:22.000Z"}}