Skip to main content
VulnerabilityPublished

CVE-2026-32322: stellar rs-soroban-sdk · Incorrect Comparison

Affects stellar rs-soroban-sdkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium · fixed in 25.3.0 : update stellar rs-soroban-sdk when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 25.3.0, 23.5.3, 22.0.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade rs-soroban-sdk to 25.3.0, 23.5.3 or 22.0.11; github/stellar/rs-soroban-sdk to 22.0.11.

Affected software

ProductAffectedFixed in
stellarrs-soroban-sdkAffected
  • >=25.0.0 <25.3.0
Fixed in
  • 25.3.0
stellarrs-soroban-sdkAffected
  • >=23.0.0 <23.5.3
Fixed in
  • 23.5.3
stellarrs-soroban-sdkAffected
  • <22.0.11
Fixed in
  • 22.0.11
crates.iogithub/stellar/rs-soroban-sdkpkg:cargo/github/stellar/rs-soroban-sdkOther threatsAffected
  • <22.0.11
Fixed in
  • 22.0.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations and developers should immediately upgrade to the fixed versions of the rs-soroban-sdk: 22.0.11, 23.5.3, or 25.3.0 or later. Auditing existing smart contracts for reliance on Fr equality comparisons is critical; contracts performing direct equality checks on user-supplied scalar values should be reviewed and potentially refactored to use host-side arithmetic operations that ensure modular reduction before comparison. Developers should implement additional validation layers to verify that all Fr values are reduced modulo r before any equality checks. Incorporating comprehensive unit and integration tests that cover edge cases involving unreduced Fr values can help detect similar logic flaws. Monitoring blockchain transactions for anomalous contract behavior or unexpected authorization bypasses may provide early warning of exploitation attempts. Finally, educating developers on the correct handling of finite field elements and cryptographic primitives in Soroban contracts will reduce the risk of similar vulnerabilities.

Description

CVE-2026-32322 is a medium severity vulnerability in the stellar rs-soroban-sdk, a Rust SDK for Soroban smart contracts. The flaw arises from incorrect equality comparisons of Fr (scalar field) types for BN254 and BLS12-381 curves, where values are compared using their raw U256 representation without modular reduction. This causes mathematically equal field elements to be treated as unequal if unreduced, potentially leading to incorrect authorization or validation bypasses in smart contracts relying on these checks. Exploitation requires an attacker to supply crafted Fr values as contract inputs and depends on the contract performing direct equality checks on these values. The vulnerability affects versions prior to 22.0.11, 23.5.3, and 25.3.

References

Community reviews

Loading reviews…