CVE-2026-25541 — bytes has integer overflow in bytes — CVE Details
bytes has integer overflow in BytesMut::reserve
Summary
Advisory Timeline
- First published February 3, 2026 (251 days ago).
- Last revised September 10, 2026 — 218 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p bytes --precise 1.11.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| bytes | crates.io | All versions | 1.11.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-680
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.2 score means for each attack dimension.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://github.com/tokio-rs/bytes/security/advisories/GHSA-434x-w66g-qw3rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25541ADVISORY
- https://github.com/tokio-rs/bytes/commit/d0293b0e35838123c51ca5dfdf468ecafee4398fWEB
- https://github.com/tokio-rs/bytesPACKAGE
- https://github.com/tokio-rs/bytes/releases/tag/v1.11.1WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0007.htmlWEB
Frequently Asked Questions
- What is CVE-2026-25541?
- bytes has integer overflow in BytesMut::reserve This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.2/10).
- How do I check if my project is affected by CVE-2026-25541?
- CVE-2026-25541 affects bytes. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25541 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-102821MEDIUM
Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey
- CVE-2026-102820MEDIUM
pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies