Skip to content
Heist/ feed
HighFix available

mpp vulnerable to Gas Draining with low gas limit

Type: advisorySource: OSV1 source record

## Vulnerability When 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. A `transferWithMemo` call on Tempo Moderato testnet requires **~51,299 gas** to complete successfully. By setting `gas_limit = 51,298`: 1. The Tx gets cosigned and broadcast by the server. 2. The Tx runs out of gas during EVM execution. All state reverts. 3. The server's fee-payer wallet is charged for gas used. 4. The client pays nothing and receives no resource. ```bash # Run the PoC unzip mpp_elixir_low_gas_PoC.zip cd mpp_elixir_low_gas_PoC docker build -t mpp-elixir-low-gas . docker run --rm mpp-elixir-low-gas ``` **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. ```bash # Run the DoS PoC unzip mpp_elixir_low_gas_dos_PoC.zip cd mpp_elixir_low_gas_dos_PoC docker build -t mpp-elixir-dos . docker run --rm mpp-elixir-dos `

Announced Source revision 1
Original source ↗

GHSA-vj8p-hp9x-gh47

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-vj8p-hp9x-gh47

mpp

Source reference: /affected/0/package/name

Affected versions
0.2.0

Source reference: /affected/0/versions

0.3.0

Source reference: /affected/0/versions

0.3.1

Source reference: /affected/0/versions

0.3.2

Source reference: /affected/0/versions

0.4.0

Source reference: /affected/0/versions

Fixed versions
0.6.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0.2.0"
          },
          {
            "fixed": "0.6.0"
          }
        ]
      }
    ],
    "package": {
      "name": "mpp",
      "purl": "pkg:hex/mpp",
      "ecosystem": "Hex"
    },
    "versions": [
      "0.2.0",
      "0.3.0",
      "0.3.1",
      "0.3.2",
      "0.4.0"
    ],
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vj8p-hp9x-gh47/GHSA-vj8p-hp9x-gh47.json"
    }
  }
]
Related CVEs
CVE-2026-59252

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#18215 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement