CVE-2026-63627: mppx Gas Draining Vulnerability Due to Padding

mppx Updated 23 Sep 2026

Summary

22/09/2026
Yes i
Moderate
6.9

CVE-2026-63627: mppx: Gas Draining with padding. Affects mppx versions < 0.8.2. Fixed in 0.8.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

mppx is an npm package that facilitates transaction processing in blockchain environments, specifically designed to handle fee payments efficiently. It allows users to set gas limits and fees for transactions. However, version 0.6.27 of mppx has a critical vulnerability that can be exploited by malicious clients to inflate transaction fees significantly.

Vulnerability Detail

The vulnerability arises from the way mppx validates calldata when the server acts as the fee payer. It utilizes viem's decodeFunctionData, which is lenient with trailing bytes. Although the FeePayerPolicy enforces limits on gas_limit (≤ 2M) and max_fee_per_gas (≤ 100 Gwei), it fails to check the length of calldata. This oversight allows attackers to append padding (e.g., 0x01 bytes) to transactions, inflating the gas used without exceeding the declared limits. Consequently, the server may end up paying approximately five times the normal transaction fee, leading to increased operational costs and potential profit loss on low-cost items.

How To Fix

Minimum fixed version

0.8.2

This is the first release that contains the fix.

npm install mppx@0.8.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement stricter validation on calldata length before processing transactions. This can be done by adding a check in your code to ensure that the length of calldata does not exceed a predefined limit. For example:

if (calldata.length > MAX_CALDATA_LENGTH) {
    throw new Error('Calldata length exceeds the maximum allowed limit.');
}

Conclusion

The mppx package version 0.6.27 has a vulnerability that allows for gas draining through padding in calldata. It is crucial to update to version 0.8.2 or later to mitigate this risk. Additionally, implementing stricter validation can serve as a temporary workaround. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for mppx →

Share this vulnerability

FAQ

The vulnerability allows malicious clients to inflate transaction fees significantly, leading to increased operational costs for the server.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Versions of mppx prior to 0.8.2 are affected by this vulnerability.

The CVSS score of this vulnerability is 6.9, indicating a moderate severity level.

Implement stricter validation on calldata length as a temporary measure to mitigate the risk of gas draining.

Related vulnerabilities

Recent vulnerabilities recorded for mppx.

How To Fix

Minimum fixed version

0.8.2

This is the first release that contains the fix.

npm install mppx@0.8.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback