{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.2.0"
              },
              {
                "fixed": "0.6.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "7ca7538f05959a98e0e5e63e4bd949b4f362cf8d"
            },
            {
              "fixed": "422bcdd066d1457a93bf5e75fd55e71c5e0be961"
            },
            {
              "fixed": "d84e3e528db39654540c2035ea0fbdf7b950d3d1"
            }
          ],
          "repo": "https://github.com/zenhive/mpp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vj8p-hp9x-gh47"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-1284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59252.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "d29d54e507918db00a5b65d90136b73166c017d7"
          },
          {
            "fixed": "d84e3e528db39654540c2035ea0fbdf7b950d3d1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-59252",
  "modified": "2026-07-19T03:31:13.147933450Z",
  "published": "2026-07-17T10:11:54.436Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-59252.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-59252"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59252.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ZenHive/mpp/security/advisories/GHSA-vj8p-hp9x-gh47"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59252"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ZenHive/mpp/commit/d84e3e528db39654540c2035ea0fbdf7b950d3d1"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ZenHive/mpp"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Missing gas_limit validation in mpp Tempo fee-payer enables wallet drain"
}