cve.bz

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

5.3 mediumEPSS 0.3%Fix available

Medium (5.3) in stellar rs-soroban-sdk. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in soroban-sdk 22.0.11, 23.5.3, 25.3.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-32322 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-32322?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-32322?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-32322 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
stellar:rs-soroban-sdkbefore 22.0.11
stellar:rs-soroban-sdkfrom 23.0.0 before 23.5.3
stellar:rs-soroban-sdkfrom 25.0.0 before 25.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x2hw-px52-wp4mcrates.iosoroban-sdk>=25.0.0 <25.3.025.3.0
GHSA-x2hw-px52-wp4mcrates.iosoroban-sdk>=23.0.0 <23.5.323.5.3
GHSA-x2hw-px52-wp4mcrates.iosoroban-sdk<22.0.1122.0.11

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON