๐Ÿ” CVE Alert

CVE-2026-32322

MEDIUM 5.3

soroban-sdk: `Fr` scalar field equality comparison bypasses modular reduction

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-697
Vendor stellar
Product rs-soroban-sdk
Published Mar 12, 2026
Last Updated Mar 13, 2026
Stay Ahead of the Next One

Get instant alerts for stellar rs-soroban-sdk

Be the first to know when new medium vulnerabilities affecting stellar rs-soroban-sdk are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Affected Versions

stellar / rs-soroban-sdk
>= 25.0.0, < 25.3.0 >= 23.0.0, < 23.5.3 < 22.0.11

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/stellar/rs-soroban-sdk/security/advisories/GHSA-x2hw-px52-wp4m