Skip to main content
CVE-2026-24889VulnerabilityPublished

CVE-2026-24889: stellar rs-soroban-sdk · Integer Overflow or Wraparound

Affects stellar rs-soroban-sdkSource CVE Database V5

0

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 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

ProductAffectedFixed in
stellarrs-soroban-sdkAffected
  • <22.0.9
  • >=23.0.0 <23.5.1
  • >=25.0.0 <25.0.2
Fixed in
  • 25.0.2
  • 23.5.1
  • 22.0.9
crates.iogithub/stellar/rs-soroban-sdkpkg:cargo/github/stellar/rs-soroban-sdkOther threatsAffected
  • <22.0.9
  • >=23.0.0 <23.5.2
  • >=25.0.0 <25.0.2
Fixed in
  • 22.0.9
  • 23.5.2
  • 25.0.2

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

Community reviews

Loading reviews…