CVEBrief

Home / stellar / rs-soroban-sdk / CVE-2026-24889

CVE-2026-24889: is it exploited, and which versions of stellar rs-soroban-sdk are affected and fixed?

CVE-2026-24889 is an integer overflow vulnerability in stellar rs-soroban-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: soroban-sdk from 25.0.0 before 25.0.2, soroban-sdk from 23.0.0 before 23.5.1 and soroban-sdk before 22.0.9 (GitHub advisory GHSA-96xm-fv9w-pf3f). Fixed in 25.0.2, 23.5.1 and 22.0.9 (GitHub advisory GHSA-96xm-fv9w-pf3f). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
soroban-sdk from 25.0.0 before 25.0.2, soroban-sdk from 23.0.0 before 23.5.1 and soroban-sdk before 22.0.9
GitHub advisory GHSA-96xm-fv9w-pf3f
Fixed in
25.0.2, 23.5.1 and 22.0.9
GitHub advisory GHSA-96xm-fv9w-pf3f
Severity
Medium 5.3
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.38% in 30 days
higher than 35% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-24889?

soroban-sdk has overflow in Bytes::slice, Vec::slice, GenRange::gen_range for u64

soroban-sdk is a Rust SDK for Soroban contracts. Arithmetic overflow can be triggered in the `Bytes::slice`, `Vec::slice`, and `Prng::gen_range` (for `u64`) methods in the `soroban-sdk` in versions up to and including `25.0.1`, `23.5.1`, and `25.0.2`. Contracts that pass user-controlled or computed range bounds to `Bytes::slice`, `Vec::slice`, or `Prng::gen_range` may silently operate on incorrect data ranges or generate random numbers from an unintended range, potentially resulting in corrupted contract state. Note that the best practice when using the `soroban-sdk` and building Soroban contracts is to always enable `overflow-checks = true`. The `stellar contract init` tool that prepares the boiler plate for a Soroban contract, as well as all examples and docs, encourage the use of configuring `overflow-checks = true` on `release` profiles so that these arithmetic operations fail rather than silently wrap. Contracts are only impacted if they use `overflow-checks = false` either explicitly or implicitly. It is anticipated the majority of contracts could not be impacted because the best practice encouraged by tooling is to enable `overflow-checks`. The fix available in `25.0.1`, `23.5.1`, and `25.0.2` replaces bare arithmetic with `checked_add` / `checked_sub`, ensuring overflow traps regardless of the `overflow-checks` profile setting. As a workaround, contract workspaces can be configured with a profile available in the GitHub Securtity Advisory to enable overflow checks on the arithmetic operations. This is the best practice when developing Soroban contracts, and the default if using the contract boilerplate generated using `stellar contract init`. Alternatively, contracts can validate range bounds before passing them to `slice` or `gen_range` to ensure the conversions cannot overflow.

From the CVE record by GitHub_M, last updated January 29, 2026, 18:00 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
stellarrs-soroban-sdk< 22.0.9
>= 23.0.0, < 23.5.1
>= 25.0.0, < 25.0.2

As the CVE record by GitHub_M states it, last updated January 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.iosoroban-sdk>= 25.0.0, < 25.0.225.0.2GHSA-96xm-fv9w-pf3f
crates.iosoroban-sdk>= 23.0.0, < 23.5.123.5.1GHSA-96xm-fv9w-pf3f
crates.iosoroban-sdk< 22.0.922.0.9GHSA-96xm-fv9w-pf3f

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 29, 2026. Summary: soroban-sdk has overflow in Bytes::slice, Vec::slice, GenRange::gen_range for u64.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
stellarrs-soroban-sdkbefore 22.0.9application
stellarrs-soroban-sdkfrom 23.0.0 before 23.5.1application
stellarrs-soroban-sdkfrom 25.0.0 before 25.0.2application

NVD analysis (status Analyzed), last modified June 17, 2026, 10:23 UTC.

How severe is CVE-2026-24889?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-24889 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 29, 2026)
EPSS
0.38% probability of exploitation activity in the next 30 days, percentile 34.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 27, 2026
Published
January 28, 2026, 22:01 UTC
CVE record updated
January 29, 2026, 18:00 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 10:23 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect rs-soroban-sdk?

Every CVE in rs-soroban-sdk

Questions about CVE-2026-24889

Is CVE-2026-24889 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of stellar rs-soroban-sdk are affected by CVE-2026-24889?

soroban-sdk from 25.0.0 before 25.0.2, soroban-sdk from 23.0.0 before 23.5.1 and soroban-sdk before 22.0.9, per the GitHub advisory GHSA-96xm-fv9w-pf3f. The tables above give every range the sources list.

Which version fixes CVE-2026-24889?

25.0.2, 23.5.1 and 22.0.9, per the GitHub advisory GHSA-96xm-fv9w-pf3f. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-24889?

Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-24889?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.