目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-24889— rs-soroban-sdk 输入验证错误漏洞

一分钟漏洞结论

影响对象
stellar rs-soroban-sdk
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

rs-soroban-sdk是Stellar开源的一个Rust开发者工具包。 rs-soroban-sdk 25.0.1及之前版本、23.5.1及之前版本和25.0.2及之前版本存在输入验证错误漏洞,该漏洞源于Bytes::slice、Vec::slice和Prng::gen_range方法存在算术溢出,可能导致在错误的数据范围内操作或生成非预期范围的随机数,从而破坏合约状态。

CVSS 5.3 · Medium EPSS 0.39% · P31
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-24889 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
soroban-sdk has overflow in Bytes::slice, Vec::slice, GenRange::gen_range for u64
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
来源: CVE Program / CVE List V5
Vulnerability Title
rs-soroban-sdk 输入验证错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
rs-soroban-sdk是Stellar开源的一个Rust开发者工具包。 rs-soroban-sdk 25.0.1及之前版本、23.5.1及之前版本和25.0.2及之前版本存在输入验证错误漏洞,该漏洞源于Bytes::slice、Vec::slice和Prng::gen_range方法存在算术溢出,可能导致在错误的数据范围内操作或生成非预期范围的随机数,从而破坏合约状态。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
stellar rs-soroban-sdk < 22.0.9 -

二、漏洞 CVE-2026-24889 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-24889 的情报信息

请登录查看更多情报信息。

CVE-2026-24889 补丁与修复 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-24889

暂无评论


发表评论