GHSA-434x-w66g-qw3r · 深刻度: medium · エコシステム: rust — bytes has integer overflow in BytesMut::reserve
Bytes is a utility library for working with bytes. From version 1.2.1 to before 1.11.1, Bytes is vulnerable to integer overflow in BytesMut::reserve. In the unique reclaim path of BytesMut::reserve, if the condition "v_capacity >= new_cap + offset" uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB. This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks. This issue has been patched in version 1.11.1.
総合評価: CVE-2026-25541 は公開エクスプロイトあり(52.2/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.56%、42 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.01% | 0.56% | +0.55% |
| 2 | 2026-02-05 | — | 0.01% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.5 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-434x-w66g-qw3r · 深刻度: medium · エコシステム: rust — bytes has integer overflow in BytesMut::reserve
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2026-25541 unimportant priority: Debian including 1 source packages (rust-bytes), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2026-25541 |
ubuntu
|
medium | CVE-2026-25541 medium priority: Ubuntu including 1 source packages (rust-bytes), 5 status rows across 5 suites (focal, jammy, noble, questing, upstream): needs-triage 4, released 1. | https://ubuntu.com/security/CVE-2026-25541 |
| URL | タグ |
|---|---|
| https://github.com/tokio-rs/bytes/commit/d0293b0e35838123c51ca5dfdf468ecafee4398f | Patch |
| https://github.com/tokio-rs/bytes/releases/tag/v1.11.1 | Product Release Notes |
| https://github.com/tokio-rs/bytes/security/advisories/GHSA-434x-w66g-qw3r | Exploit Vendor Advisory |
| https://rustsec.org/advisories/RUSTSEC-2026-0007.html | Exploit Third Party Advisory |