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.
226 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
AZL-76691
CVE-2026-25541 affecting package kata-containers for versions less than 3.19.1.kata2-6
-
AZL-76703
CVE-2026-25541 affecting package netavark for versions less than 1.10.3-7
-
AZL-76712
CVE-2026-25541 affecting package azl-compliance for versions less than 1.0.2-3
-
AZL-76715
CVE-2026-25541 affecting package rpm-ostree for versions less than 2024.4-8
-
AZL-76718
CVE-2026-25541 affecting package rust for versions less than 1.75.0-27
-
AZL-76721
CVE-2026-25541 affecting package rust for versions less than 1.90.0-6
-
AZL-76752
CVE-2026-25541 affecting package rust 1.72.0-14
-
AZL-78615
CVE-2026-25541 affecting package trident for versions less than 0.22.0-1
-
AZL-85059
CVE-2026-25541 affecting package rust-afterburn for versions less than 5.8.2-2
- CGA-22fg-wrc3-qcc7
- CGA-2jvw-45qf-pg9j
- CGA-2r56-97qj-w4h2
- CGA-2x4c-4pgf-qj36
- CGA-33pm-xg55-rgrr
- CGA-399f-r686-4594
- CGA-3gg6-p7pr-97gg
- CGA-3hgg-rcxv-2qvg
- CGA-3m6c-jr9h-h3hh
- CGA-3p8f-35w4-994j
- CGA-3pj9-rw4v-7cvh
- CGA-493p-7jp9-hxrp
- CGA-4g2f-7phm-x6pv
- CGA-4g45-248r-357p
- CGA-4g68-68xg-v2hm
- CGA-4h2j-frrf-65r7
- CGA-4q27-m83v-jgq6
- CGA-4q6v-6xfr-cp3v
- CGA-53xm-6m7h-qgvc
- CGA-54wg-wvf7-cq67
- CGA-56xp-qc7c-vxqp
- CGA-57hj-fj45-g356
- CGA-595g-8cmp-4w3w
- CGA-5cfp-p8j8-ppf3
- CGA-5fhj-gr8g-w4vh
- CGA-5qqp-v873-9hxh
- CGA-66f2-g85w-j995
- CGA-67x7-r938-cc4w
- CGA-68v3-824q-rhw4
- CGA-6fw5-gwcx-cp8j
- CGA-6hm6-3wjp-prxh
- CGA-6jhg-q8cv-wgx9
- CGA-6pgj-3vqv-f59x
- CGA-6qx3-3cq8-cf89
- CGA-6vrg-vj34-f48q
- CGA-6ww4-5674-qwx3
- CGA-7379-83m4-h6vx
- CGA-74mq-9x74-xp72
- CGA-7cm8-qc8r-7x35
- CGA-7vwj-w84p-472m
- CGA-838h-j25m-8gr6
- CGA-8623-gh4m-7fj2
- CGA-882g-qmqm-5p5x
- CGA-8c3h-c88f-rg4h
- CGA-8fh3-w34x-4pvj
- CGA-8fv3-jchh-59v8
- CGA-8hq3-wcff-fx9r
- CGA-8j6r-4cp6-ffff
- CGA-8p33-m839-ffhh
- CGA-93jq-p6vw-6gv5
- CGA-93pm-gpcg-h742
- CGA-97fg-46fc-vwj9
- CGA-9g47-9x7h-h7g3
- CGA-9ghp-32gg-jpw9
- CGA-9hmj-hwrx-fh2q
- CGA-9jv2-w278-3mc9
- CGA-9w4v-5r3q-h9j8
- CGA-9wfh-h92v-rhr9
- CGA-9wpp-f4pw-9p8g
- CGA-9x52-qr2c-q3mx
- CGA-c7j3-x5p6-h7gh
- CGA-c7jp-x2fh-56cc
- CGA-c8cj-hr2f-w2v5
- CGA-c9j3-vxw5-w9hj
- CGA-cc73-vq8c-558w
- CGA-chc5-3hjx-643m
- CGA-cr4f-wh6q-ff54
- CGA-f496-r9xc-4hpv
- CGA-f4gv-rj8c-wfgx
- CGA-fg5w-79h5-cqj2
- CGA-fgf8-wv9v-gjrc
- CGA-fx2v-m2c2-q3p7
- CGA-fx8v-cc3v-5f85
- CGA-g3rf-pqhc-266r
- CGA-g4jh-jjq7-9wfx
- CGA-g4mc-c8g8-pvxh
- CGA-g83v-h7gc-5954
- CGA-g9g2-v438-4cqq
- CGA-gg56-5c3v-v2m3
- CGA-gm2f-wm77-75fj
- CGA-gpx8-mwm7-66q8
- CGA-gq2c-25x3-gmv2
- CGA-gv8j-cqpj-fcqm
- CGA-h56v-wjc9-8vv9
- CGA-h798-r765-x63f
- CGA-h8gq-mpwv-q2vv
- CGA-h8m2-4m2f-qpgm
- CGA-hfmj-h2wr-wrmp
- CGA-hh9w-hrgf-7gpr
- CGA-hmq4-j527-x7hj
- CGA-hmwr-7vq8-7rhc
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-25541.