CVE-2026-24889: stellar rs-soroban-sdk · Integer Overflow or Wraparound
Affects stellar rs-soroban-sdkSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 25.0.2 : update stellar rs-soroban-sdk when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 25.0.2, 23.5.1, 22.0.9 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 2026-10-26.
What to do
Upgrade rs-soroban-sdk to 25.0.2, 23.5.1 or 22.0.9; github/stellar/rs-soroban-sdk to 25.0.2, 23.5.2 or 22.0.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| stellarrs-soroban-sdk | Affected
| Fixed in
|
crates.iogithub/stellar/rs-soroban-sdkpkg:cargo/github/stellar/rs-soroban-sdkOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately verify the versions of rs-soroban-sdk in use and upgrade to patched versions 22.0.9 or later, 23.5.1 or later, and 25.0.2 or later as applicable. It is critical to ensure that the Rust compiler's overflow-checks feature is enabled (overflow-checks = true) in all build profiles, including release builds, to prevent silent wraparounds. Developers should audit Soroban contracts to confirm that user inputs or computed range bounds passed to Bytes::slice, Vec::slice, and Prng::gen_range are validated rigorously to prevent out-of-bound or overflow conditions. Employing checked arithmetic methods (checked_add, checked_sub) explicitly in contract code can provide additional safety. Organizations should integrate static analysis and fuzz testing focused on boundary conditions in contract development pipelines. Monitoring contract behavior post-deployment for anomalies in state or random number generation can help detect exploitation attempts. Finally, educating developers on this vulnerability and enforcing secure coding standards for Soroban contracts will reduce future risks.
Description
CVE-2026-24889 is an integer overflow vulnerability in the Stellar rs-soroban-sdk Rust SDK used for Soroban smart contracts. The flaw occurs in the Bytes::slice, Vec::slice, and Prng::gen_range methods when user-controlled or computed range bounds cause arithmetic overflow or wraparound, potentially corrupting contract state or generating unintended random numbers. This vulnerability affects versions prior to 22.0.9, between 23.0.0 and 23.5.1, and between 25.0.
References
- github.com/stellar/rs-soroban-sdk/security/advisories/GHSA-96xm-fv9w-pf3f (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/pull/1703 (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/commit/3890521426d71bb4d892b21f5a283a1e836cfa38 (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/commit/59fcef437260ed4da42d1efb357137a5c166c02e (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/commit/c2757c6d774dbb28b34a0b77ffe282e59f0f8462 (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/releases/tag/v22.0.9 (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/releases/tag/v23.5.1 (opens in a new tab)
- github.com/stellar/rs-soroban-sdk/releases/tag/v25.0.2 (opens in a new tab)