ADVISORIES

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.

227 advisories report this vulnerability, across 8 ecosystems.

Advisories in Azure Linux

  • AZL-76691

    CVE-2026-25541 affecting package kata-containers for versions less than 3.19.1.kata2-6

    CVE-2026-25541 Azure Linux Updated 28 August 2026
  • AZL-76703

    CVE-2026-25541 affecting package netavark for versions less than 1.10.3-7

    CVE-2026-25541 Azure Linux Updated 24 November 2026
  • AZL-76712

    CVE-2026-25541 affecting package azl-compliance for versions less than 1.0.2-3

    CVE-2026-25541 Azure Linux Updated 21 April 2026
  • AZL-76715

    CVE-2026-25541 affecting package rpm-ostree for versions less than 2024.4-8

    CVE-2026-25541 Azure Linux Updated 24 November 2026
  • AZL-76718

    CVE-2026-25541 affecting package rust for versions less than 1.75.0-27

    CVE-2026-25541 Azure Linux Updated 24 November 2026
  • AZL-76721

    CVE-2026-25541 affecting package rust for versions less than 1.90.0-6

    CVE-2026-25541 Azure Linux Updated 24 November 2026
  • AZL-76752

    CVE-2026-25541 affecting package rust 1.72.0-14

    CVE-2026-25541 Azure Linux Updated 21 April 2026
  • AZL-78615

    CVE-2026-25541 affecting package trident for versions less than 0.22.0-1

    CVE-2026-25541 Azure Linux Updated 28 August 2026
  • AZL-85059

    CVE-2026-25541 affecting package rust-afterburn for versions less than 5.8.2-2

    CVE-2026-25541 Azure Linux Updated 24 November 2026

References