GHSA-v858-xh7w-8jr5: pympp: Gas Draining with padding

Published Nov 9, 2026
·
Updated

pympp is a Python SDK for the Machine Payments Protocol. Prior to version 0.9.1, when the server acts as the feepayer, pympp validates calldata using ethabi decoding, which is lenient about trailing bytes. The FeePayerPolicy caps gaslimit (≤ 2 M) and maxfeepergas (≤ 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 gaslimit and maxfeepergas within policy caps. The server cosigns and broadcasts the padded transaction, draining its fee-payer wallet. This issue has been patched in version 0.9.1.

Affected Software

1 affected component
pypi/pympp<0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pympp to a version that resolves this vulnerability.

    Fixed in 0.9.1

Event History

Nov 9, 2026
CVE Published
via OSV·08:59 PM
Data Sourced
via OSV·08:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to fee-payer wallet draining?

Deployments using pympp versions earlier than 0.9.1 are exposed when the server acts as the fee_payer. The issue affects transactions whose calldata can include appended non-zero padding.

2

What does an attacker need to exploit this issue?

An attacker needs network access to submit a transaction that the fee-payer server will cosign and broadcast. No privileges or user interaction are required according to the provided vector.

3

Why do the existing fee policy caps not prevent the extra charge?

The policy caps gas_limit at 2 M and max_fee_per_gas at 100 Gwei, but it does not validate calldata length. Appended 0x01 bytes add 16 gas each under Tempo's legacy calldata gas pricing without changing those capped fields.

4

What is the remediation?

Upgrade pympp to version 0.9.1, which patches the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203