{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MPP.Methods.Tempo'"],"packageName":"mpp","packageURL":"pkg:hex/mpp","product":"mpp","programFiles":["lib/mpp/methods/tempo.ex"],"programRoutines":[{"name":"'Elixir.MPP.Methods.Tempo':broadcast_and_verify/7"}],"repo":"https://github.com/ZenHive/mpp","vendor":"ZenHive","versions":[{"lessThan":"0.6.0","status":"affected","version":"0.2.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MPP.Methods.Tempo'"],"packageName":"ZenHive/mpp","packageURL":"pkg:github/ZenHive/mpp","product":"mpp","programFiles":["lib/mpp/methods/tempo.ex"],"programRoutines":[{"name":"'Elixir.MPP.Methods.Tempo':broadcast_and_verify/7"}],"repo":"https://github.com/ZenHive/mpp","vendor":"ZenHive","versions":[{"lessThan":"d84e3e528db39654540c2035ea0fbdf7b950d3d1","status":"affected","version":"d29d54e507918db00a5b65d90136b73166c017d7","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The vulnerable code path is only reachable when the <tt>MPP.Methods.Tempo</tt> method is configured with <tt>fee_payer: true</tt> (server-side gas sponsorship). Default deployments with <tt>fee_payer: false</tt> are not affected, since the client pays for gas out of its own wallet.</p>"}],"value":"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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","versionEndExcluding":"0.6.0","versionStartIncluding":"0.2.0","vulnerable":true}],"negate":false,"operator":"AND"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Kian Kai Ang"},{"lang":"en","type":"remediation developer","value":"E.FU"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p><p>When the <tt>mpp</tt> Elixir library is configured as fee payer (<tt>fee_payer: true</tt>), the <tt>MPP.Methods.Tempo</tt> payment method co-signs and broadcasts a client-supplied EVM transaction without first validating that the client-supplied <tt>gas_limit</tt> is sufficient to complete the intended call. A malicious client can submit a signed <tt>transferWithMemo</tt> transaction with <tt>gas_limit</tt> deliberately set just below the amount required for successful execution. The server co-signs the transaction and broadcasts it via <tt>rpc_broadcast_sync</tt>. 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.</p><p>The <tt>wait_for_confirmation = false</tt> (optimistic) path is also affected: it invokes <tt>simulate_payment_call</tt> via <tt>eth_call</tt>, but that simulation omits the <tt>gas</tt> parameter and therefore does not catch out-of-gas conditions.</p><p>This issue affects mpp: from 0.2.0 before 0.6.0.</p>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-17T10:11:54.436Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-vj8p-hp9x-gh47"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-59252.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-59252"},{"tags":["patch"],"url":"https://github.com/ZenHive/mpp/commit/d84e3e528db39654540c2035ea0fbdf7b950d3d1"}],"source":{"discovery":"EXTERNAL"},"title":"Missing gas_limit validation in mpp Tempo fee-payer enables wallet drain","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-59252","datePublished":"2026-07-17T10:11:54.436Z","dateReserved":"2026-07-04T04:24:03.653Z","dateUpdated":"2026-07-17T10:11:54.436Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}