{"vuln_id":"GHSA-v858-xh7w-8jr5","aliases":["CVE-2026-63634"],"description":"pympp allows excessive sponsored transaction fees through padded calldata","published_at":"2026-11-17T20:04:56Z","modified_at":"2026-11-17T20:15:05.662556Z","first_seen_at":"2026-11-21T19:15:20.180001Z","severity":"medium","severity_source":"ghsa","cvss_score":6.9,"cvss_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","cwe":["CWE-20","CWE-1286"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-v858-xh7w-8jr5"},"matched_alias":null,"items":[{"id":10791,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-v858-xh7w-8jr5: pympp allows excessive sponsored transaction fees through padded calldata","summary":"pympp allows excessive sponsored transaction fees through padded calldata\n\n### Details\nWhen 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.\n\nTempo 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.\n\n**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`.\n\n**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.\n\n### PoC\nThe PoC is provided below. It is configured to reproduce the attack on Tempo Moderate testnet within a Docker environment. Download the PoC and run:\n```bash\nunzip pympp_python_PoC.zip\ncd pympp_python\ndocker build -t pympp-padding .\ndocker run --rm pympp-padding\n``` \nThere are more details in `pympp_python/README.md`\n\n### Impact\nIn 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.\n\nPlease provide a way to share the PoC in .zip format to you. Thank you!\n\nAffected: PyPI:pympp\n\nFixed in: 0.9.1\n\nReferences:\nhttps://github.com/tempoxyz/pympp/security/advisories/GHSA-v858-xh7w-8jr5\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-63634\nhttps://github.com/tempoxyz/pympp/commit/57a750d0d980b8e6c3bea62a40b7621f176ff1f0\nhttps://github.com/tempoxyz/pympp\nhttps://github.com/tempoxyz/pympp/releases/tag/v0.9.1","url":"https://osv.dev/vulnerability/GHSA-v858-xh7w-8jr5","published_at":"2026-11-17T20:04:56Z","updated_at":"2026-11-17T20:15:05.662556Z","fetched_at":"2026-11-21T19:15:55.946178Z","severity":"medium","cvss_score":6.9,"epss":0.00291,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"pympp","vuln_id":"CVE-2026-63634","vuln_ids":["CVE-2026-63634","GHSA-V858-XH7W-8JR5"],"tags":["osv","pypi","fix-available"],"cluster_id":2366,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10791","html":"https://vulnwatch.ve1ve2.com/item/10791"}},{"id":2461,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-v858-xh7w-8jr5 / CVE-2026-63634: pympp allows excessive sponsored transaction fees through padded calldata","summary":"pympp allows excessive sponsored transaction fees through padded calldata\n\n### Details\nWhen 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.\n\nTempo 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.\n\n**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`.\n\n**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.\n\n### PoC\nThe PoC is provided below. It is configured to reproduce the attack on Tempo Moderate testnet within a Docker environment. Download the PoC and run:\n```bash\nunzip pympp_python_PoC.zip\ncd pympp_python\ndocker build -t pympp-padding .\ndocker run --rm pympp-padding\n``` \nThere are more details in `pympp_python/README.md`\n\n### Impact\nIn 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.\n\nPlease provide a way to share the PoC in .zip format to you. Thank you!\n\nAffected packages: pip:pympp\nPatched: pympp 0.9.1","url":"https://github.com/advisories/GHSA-v858-xh7w-8jr5","published_at":"2026-11-17T20:04:56Z","updated_at":"2026-11-17T20:04:57Z","fetched_at":"2026-11-21T19:15:18.416855Z","severity":"medium","cvss_score":6.9,"epss":0.00291,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"pympp","vuln_id":"CVE-2026-63634","vuln_ids":["CVE-2026-63634","GHSA-V858-XH7W-8JR5"],"tags":["ghsa","pip","CWE-20","CWE-1286"],"cluster_id":2366,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2461","html":"https://vulnwatch.ve1ve2.com/item/2461"}}]}