Live threats

All CVEs / Stellar

CVE-2026-32322Stellar Rs-soroban-sdk

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Mar 13, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-697
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rs-soroban-sdk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io soroban-sdk ≥ 25.0.0 < 25.3.0 25.3.0 cargo update -p soroban-sdk --precise 25.3.0
crates.io soroban-sdk ≥ 23.0.0 < 23.5.3 23.5.3 cargo update -p soroban-sdk --precise 23.5.3
crates.io soroban-sdk < 22.0.11 22.0.11 cargo update -p soroban-sdk --precise 22.0.11

Per OSV / GitHub Advisories (GHSA-x2hw-px52-wp4m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
stellarrs-soroban-sdk< 22.0.11
stellarrs-soroban-sdk≥ 23.0.0 < 23.5.3
stellarrs-soroban-sdk≥ 25.0.0 < 25.3.0

Official sources

References

Links published by the sources. Open them with care.