{"cve":"CVE-2026-32129","nvd":{"published":"2026-03-12T18:16:25.097","modified":"2026-06-17T10:35:11.267","status":"Deferred","description":"soroban-poseidon provides Poseidon and Poseidon2 cryptographic hash functions for Soroban smart contracts. Poseidon V1 (PoseidonSponge) accepts variable-length inputs without injective padding. When a caller provides fewer inputs than the sponge rate (inputs.len() < T - 1), unused rate positions are implicitly zero-filled. This allows trivial hash collisions: for any input vector [m1, ..., mk] hashed with a sponge of rate > k, hash([m1, ..., mk]) equals hash([m1, ..., mk, 0]) because both produce identical pre-permutation states. This affects any use of PoseidonSponge or poseidon_hash where the number of inputs is less than T - 1 (e.g., hashing 1 input with T=3). Poseidon2 (Poseidon2Sponge) is not affected.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.7},"cvss_v3":null,"cwes":["CWE-328"],"references":["https://github.com/stellar/rs-soroban-poseidon/pull/10","https://github.com/stellar/rs-soroban-poseidon/releases/tag/v25.0.1","https://github.com/stellar/rs-soroban-poseidon/security/advisories/GHSA-g2p6-hh5v-7hfm"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-32129","score":0.00214,"percentile":0.1181,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g2p6-hh5v-7hfm","url":"https://osv.dev/vulnerability/GHSA-g2p6-hh5v-7hfm","summary":"Poseidon V1 variable-length input collision via implicit zero-padding","modified":"2026-03-13T15:57:07.460394Z","packages":[{"ecosystem":"crates.io","name":"soroban-poseidon","purl":"pkg:cargo/soroban-poseidon","ranges":["<25.0.1"],"fixed":["25.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}