Vulnerability
CVE-2026-25541
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.
228 advisories report this vulnerability, across 8 ecosystems.
Advisories in openSUSE
-
SUSEVEX-CVE-2026-25541
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…
-
openSUSE-RU-2026:21658-1
Recommended update for sequoia-sq
-
openSUSE-SU-2026:11255-1
afterburn-5.10.0.git73.b97f772-1.1 on GA media
-
openSUSE-SU-2026:11280-1
nm-configurator-0.3.5-2.1 on GA media
-
openSUSE-SU-2026:11474-1
gitoxide-0.56.0-1.1 on GA media
-
openSUSE-SU-2026:11475-1
kak-lsp-21.0.2-1.1 on GA media
-
openSUSE-SU-2026:11482-1
wild-0.10.0-2.1 on GA media
-
openSUSE-SU-2026:11492-1
aws-efs-utils-3.2.0-1.1 on GA media
-
openSUSE-SU-2026:11495-1
git-cliff-2.13.1-1.1 on GA media
-
openSUSE-SU-2026:11512-1
cargo-audit-0.22.2~git0.281452c-2.1 on GA media
-
openSUSE-SU-2026:11513-1
cargo-c-0.10.23-2.1 on GA media
-
openSUSE-SU-2026:11522-1
obs-service-cargo-7.2.2-2.1 on GA media
-
openSUSE-SU-2026:11525-1
rustup-1.29.0~0-1.1 on GA media
-
openSUSE-SU-2026:11527-1
sccache-0.17.0~1-2.1 on GA media
-
openSUSE-SU-2026:11528-1
wasm-bindgen-0.2.100-2.1 on GA media
-
openSUSE-SU-2026:11529-1
forgejo-cli-0.6.0-2.1 on GA media
-
openSUSE-SU-2026:11549-1
markdown-oxide-0.25.12-1.1 on GA media
-
openSUSE-SU-2026:11655-1
libtree-sitter0_26-0.26.8-5.1 on GA media
-
openSUSE-SU-2026:11656-1
aws-nitro-enclaves-binaryblobs-upstream-1.5.0~git0.2950b36-1.1 on GA media
-
openSUSE-SU-2026:11679-1
agama-24+0.a836cced5-54.1 on GA media
-
openSUSE-SU-2026:11818-1
shadowsocks-rust-1.25.0-1.1 on GA media
-
openSUSE-SU-2026:11835-1
librepods-0.1.0+git20260515.672e65a-1.1 on GA media
-
openSUSE-SU-2026:11838-1
pijul-1.0.0~beta.23-1.1 on GA media
-
openSUSE-SU-2026:11905-1
tealdeer-1.8.0-2.1 on GA media
-
openSUSE-SU-2026:12205-1
switcheroo-2.6.0-1.1 on GA media
-
openSUSE-SU-2026:12355-1
zed-1.24.2-1.1 on GA media
-
openSUSE-SU-2026:12598-1
neovide-0.17.2-1.1 on GA media
-
openSUSE-SU-2026:12671-1
onefetch-3.3.0-1.1 on GA media
-
openSUSE-SU-2026:21386-1
Security update for afterburn
-
openSUSE-SU-2026:21428-1
Security update for nm-configurator
-
openSUSE-SU-2026:21558-1
Security update for gitoxide
-
openSUSE-SU-2026:21560-1
Security update for kak-lsp
-
openSUSE-SU-2026:21584-1
Security update for git-cliff
-
openSUSE-SU-2026:21605-1
Security update for forgejo-cli
-
openSUSE-SU-2026:21689-1
Security update for gstreamer-devtools
-
openSUSE-SU-2026:21782-1
Security update for aws-nitro-enclaves-cli
-
openSUSE-SU-2026:21794-1
Security update for supergfxctl
-
openSUSE-SU-2026:21815-1
Security update for waylyrics
-
openSUSE-SU-2026:21982-1
Security update for sccache
-
openSUSE-SU-2026:22016-1
Security update for rustup
-
openSUSE-SU-2026:22075-1
Security update for agama
-
openSUSE-SU-2026:22189-1
Security update for shadowsocks-rust, shadowsocks-libev
-
openSUSE-SU-2026:22255-1
Security update for gnome-podcasts
-
openSUSE-SU-2026:22456-1
Security update for rustup