CVE & CISA-KEV Catalog

CVE-2026-25541

MEDIUM
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
rust-bytesDebian
Fixed in:1.11.1-1CVE-2026-25541

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.56%probability of exploitation in 30 days
42ndpercentile

Moderate risk: more likely to be exploited than 42% of all known CVEs.

References

Release Notes1
Embed a live status badge for CVE-2026-25541
CVE-2026-25541 severity badge

Markdown

[![CVE-2026-25541](https://tridentstack.com/cve/badge/CVE-2026-25541.svg)](https://tridentstack.com/cve/CVE-2026-25541)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-25541"><img src="https://tridentstack.com/cve/badge/CVE-2026-25541.svg" alt="CVE-2026-25541"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-27.