Ad

CVE-2026-32322

MEDIUM CVSS 3.1: 5.3 EPSS 0.02%
Updated Mar 19, 2026
Stellar
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions 23.0.0 — 25.3.0
Fixed In 22.0.11
Type CWE-697
Vendor Stellar
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Stellar Rs-Soroban-Sdk
cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
22.0.11
Stellar Rs-Soroban-Sdk
cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
23.0.0 23.5.3
Stellar Rs-Soroban-Sdk
cpe:2.3:a:stellar:rs-soroban-sdk:*:*:*:*:*:rust:*:*
25.0.0 25.3.0