MEDIUM · CVSS 4.0 EPSS 0.5% · 36th percentile CWE-1286CWE-20

CVE-2026-63634: pympp allows excessive sponsored transaction fees through padded calldata

Published 2026-11-17 · Updated 2026-11-17 · Also known as GHSA-v858-xh7w-8jr5

Summary

The pympp library fails to validate calldata length when acting as a fee payer, allowing attackers to pad transactions to inflate gas costs. Engineering teams using pympp as a fee payer must upgrade to version 0.9.1 or later to mitigate this financial risk.

Who is affected

Affected deployments occur when pympp is configured with FeePayerPolicy to act as a server-side fee payer for transactions. Attackers can append non-zero bytes to calldata to exploit legacy gas pricing models, forcing the fee-paying wallet to cover significantly higher transaction fees than intended. This can lead to operational cost exhaustion and negative profit margins.

Exploitability

The vulnerability is rated as Medium severity and does not require complex attack conditions or user interaction (AV:N/AC:L/AT:N/PR:N/UI:N). With an EPSS score of 0.003, the threat is currently limited, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
PyPI pympp >= 0, < 0.9.1 0.9.1 python -m pip install 'pympp>=0.9.1'

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)Low
Availability (vulnerable system)None
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

Is there active exploitation of this vulnerability?

No. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

How does the padding increase the transaction cost?

The server uses legacy gas pricing of 16 gas per non-zero byte of calldata. By appending non-zero bytes, an attacker forces the server to pay for the intrinsic gas costs associated with that data without exceeding the defined gas_limit caps.

What is the primary technical cause of the issue?

The FeePayerPolicy validates calldata using eth_abi decoding, which ignores trailing bytes, while simultaneously lacking a hard limit on the total length of the calldata provided.

Original advisory description
### Details When the server acts as the fee_payer, `pympp` 0.8.0 validates calldata using `eth_abi` decoding, which is lenient about trailing bytes. The `FeePayerPolicy` caps `gas_limit` (≤ 2 M) and `max_fee_per_gas` (≤ 100 Gwei) but does **not** check calldata length. Tempo uses legacy calldata gas pricing: **16 gas per non-zero byte**. Appending `N` bytes of `0x01` padding inflates actual gas used by `N × 16` while keeping `gas_limit` and `max_fee_per_gas` within policy caps. The server cosigns and broadcasts the padded transaction, draining its fee-payer wallet. **Vulnerable code path:** `FeePayerPolicy` in `fee_payer_policy.py` (pympp 0.8.0) enforces `maxGas = 2_000_000` and `maxFeePerGas = 100 Gwei` but has no `calldata.length` bound. The policy check passes because the inflated gas comes from intrinsic calldata cost, not the declared `gas_limit`. **Note:** In our experiment, we enforce an 16 KB `max_header_length`, which caps the maximum effective padding at roughly 5,500 bytes. The default padding in this PoC (5,500 bytes) is within that limit. ### PoC The PoC is provided below. It is configured to reproduce the attack on Tempo Moderate testnet within a Docker environment. Download the PoC and run: ```bash unzip pympp_python_PoC.zip cd pympp_python docker build -t pympp-padding . docker run --rm pympp-padding ``` There are more details in `pympp_python/README.md` ### Impact In our experiment, a malicious client can force the server to pay ~**5x** the normal transaction fee. This dramatically increases operational costs and completely destroys the profit margin on low-cost items. Please provide a way to share the PoC in .zip format to you. Thank you!

References

Source records: GHSA-v858-xh7w-8jr5 (OSV.dev) · EPSS by FIRST, 2026-11-26.