# CVE-2026-32129: Poseidon V1 variable-length input collision via implicit zero-padding

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-03-12T17:47:10.717Z
- Modified: 2026-06-17T10:35:11.267Z
- Also known as: GHSA-g2p6-hh5v-7hfm
- Weaknesses: CWE-328
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- stellar rs-soroban-poseidon: < 25.0.1
- soroban-poseidon (crates.io): before 25.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/stellar/rs-soroban-poseidon/security/advisories/GHSA-g2p6-hh5v-7hfm> (web)
- <https://github.com/stellar/rs-soroban-poseidon/pull/10> (web)
- <https://github.com/stellar/rs-soroban-poseidon/releases/tag/v25.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32129> (advisory)
- <https://github.com/stellar/rs-soroban-poseidon/commit/ceb20d3593fc4a8a951a7e99d8fa2344f8250a8c> (web)
- <https://github.com/stellar/rs-soroban-poseidon> (package)

## Sources

- CVE List: [CVE-2026-32129](https://www.cve.org/CVERecord?id=CVE-2026-32129), CVE Terms of Use, modified 2026-03-13
- GitHub Advisory Database: [GHSA-g2p6-hh5v-7hfm](https://github.com/advisories/GHSA-g2p6-hh5v-7hfm), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2026-32129](https://nvd.nist.gov/vuln/detail/CVE-2026-32129), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32129 · Whole record: https://cve.day/CVE-2026-32129.json · Rebuilt by cve.day 2026-11-25T22:59:15.840Z
