Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-24889: soroban-sdk is a Rust SDK for Soroban contracts

32
Routine
MEDIUM 5.3REMOTEUPGRADE

CVE-2026-24889 is a medium-severity flaw (CVSS 5.3) affecting rs-soroban-sdk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 un

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-190
Published2026-01-28
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: stellar

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

stellar rs-soroban-sdk UPGRADE
Affected: < 22.0.9 · >= 23.0.0 and < 23.5.1 · >= 25.0.0 and < 25.0.2
Fixed in: 22.0.9, 23.5.1, 25.0.2
Safe to downgrade to: a release before 23.0.0
1. Check installed version
apt-cache policy rs-soroban-sdk || rpm -q rs-soroban-sdk || rs-soroban-sdk --version
2. UPGRADE to 22.0.9 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rs-soroban-sdk
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rs-soroban-sdk
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 23.0.0 (Debian / Ubuntu)
apt-cache madison rs-soroban-sdk sudo apt install rs-soroban-sdk=<VERSION_BEFORE_23.0.0> sudo apt-mark hold rs-soroban-sdk
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list rs-soroban-sdk sudo dnf downgrade rs-soroban-sdk-<VERSION_BEFORE_23.0.0> sudo dnf versionlock add rs-soroban-sdk
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-24889?

rs-soroban-sdk: upgrade to 22.0.9, 23.5.1, 25.0.2. Exact commands for each OS are on this page.

Is CVE-2026-24889 being exploited?

CVE-2026-24889 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-24889 affect?

CVE-2026-24889 affects rs-soroban-sdk. Severity is medium (CVSS 5.3). 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`, an

How urgent is CVE-2026-24889?

Priority 32/100. Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.