Vulnerabilities

CVE-2026-32322

Medium 5.3 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-03-13
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.3 % higher than 20 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
soroban-sdk (crates.io) < 22.0.11 Affected
soroban-sdk (crates.io) ≥ 23.0.0, < 23.5.3 Affected
soroban-sdk (crates.io) ≥ 25.0.0, < 25.3.0 Affected
Stellar Rs-soroban-sdk < 22.0.11 Affected
Stellar Rs-soroban-sdk ≥ 23.0.0, < 23.5.3 Affected
Stellar Rs-soroban-sdk ≥ 25.0.0, < 25.3.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities