GHSA-x2hw-px52-wp4m · Severity: medium · Ecosystem: rust — rs-soroban-sdk: `Fr` scalar field equality comparison bypasses modular reduction
soroban-sdk is a Rust SDK for Soroban contracts. Prior to 22.0.11, 23.5.3, and 25.3.0, The Fr (scalar field) types for BN254 and BLS12-381 in soroban-sdk compared values using their raw U256 representation without first reducing modulo the field modulus r. This caused mathematically equal field elements to compare as not-equal when one or both values were unreduced (i.e., >= r). The vulnerability requires an attacker to supply crafted Fr values through contract inputs, and compare them directly without going through host-side arithmetic operations. Smart contracts that rely on Fr equality checks for security-critical logic could produce incorrect results. The impact depends on how the affected contract uses Fr equality comparisons, but can result in incorrect authorization decisions or validation bypasses in contracts that perform equality checks on user-supplied scalar values. This vulnerability is fixed in 22.0.11, 23.5.3, and 25.3.0.
Conclusion & alert: CVE-2026-32322 is rated Low Risk (28.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.28%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.28% | +0.25% |
| 2 | 2026-03-13 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-x2hw-px52-wp4m · Severity: medium · Ecosystem: rust — rs-soroban-sdk: `Fr` scalar field equality comparison bypasses modular reduction
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| stellar | rs-soroban-sdk | < 22.0.11 | cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:* |
| stellar | rs-soroban-sdk | >= 23.0.0, < 23.5.3 | cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:* |
| stellar | rs-soroban-sdk | >= 25.0.0, < 25.3.0 | cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:* |
| URL | Tags |
|---|---|
| https://github.com/stellar/rs-soroban-sdk/security/advisories/GHSA-x2hw-px52-wp4m | Mitigation Patch Vendor Advisory |