CVE-2026-25541
Bytes is vulnerable to integer overflow in BytesMut::reserve
A public proof of concept exists; no exploitation attested.
- Published2026-02-04
- Fixed in1.11.1
- WeaknessCWE-680
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-02-0422:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.2.1, < 1.11.1 | 1.11.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- tokio-rs bytesAffected
- = >= 1.2.1, < 1.11.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-04
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- afterburnSUSE:Linux Micro 6.2all versions · fixed in 5.10.0.git73.b97f772-160000.1.1
- afterburnSUSE:Linux Micro 6.1all versions · fixed in 5.10.0.git73.b97f772-slfo.1.1_1.1
- afterburnSUSE:Linux Micro 6.0all versions · fixed in 5.10.0.git73.b97f772-1.1
- afterburnSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 5.10.0.git73.b97f772-160000.1.1
- afterburnSUSE:Linux Enterprise Server 16.0all versions · fixed in 5.10.0.git73.b97f772-160000.1.1
- afterburnSUSE:Linux Enterprise Micro 5.5all versions · fixed in 5.10.0.git73.b97f772-150500.3.6.1
- afterburnSUSE:Linux Enterprise Micro 5.4all versions · fixed in 5.10.0.git73.b97f772-150400.3.6.1
- afterburnSUSE:Linux Enterprise Micro 5.3all versions · fixed in 5.10.0.git73.b97f772-150400.3.6.1
193 more package ranges on OSV.dev
Fix
- Update Tokio-rs bytes to 1.11.1
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-02-05
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01trajanOx/cve-2026-25541-fuel-analysis
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-02-05
- CNACVSS 4.05.5known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-680known since 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2026-02-03
Identifiers
- AZL-76691same flawAzure Linux · MIT
- AZL-76703same flawAzure Linux · MIT
- AZL-76712same flawAzure Linux · MIT
- AZL-76715same flawAzure Linux · MIT
- AZL-76718same flawAzure Linux · MIT
- AZL-76721same flawAzure Linux · MIT
- AZL-76752same flawAzure Linux · MIT
- AZL-78615same flawAzure Linux · MIT
- AZL-85059same flawAzure Linux · MIT
- CGA-22fg-wrc3-qcc7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jvw-45qf-pg9jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2r56-97qj-w4h2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x4c-4pgf-qj36same flawChainguard · CC-BY-NC-ND-4.0
- CGA-33pm-xg55-rgrrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-399f-r686-4594same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3gg6-p7pr-97ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m6c-jr9h-h3hhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p8f-35w4-994jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3pj9-rw4v-7cvhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-493p-7jp9-hxrpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4g2f-7phm-x6pvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4g45-248r-357psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4g68-68xg-v2hmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4h2j-frrf-65r7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4q27-m83v-jgq6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4q6v-6xfr-cp3vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-53xm-6m7h-qgvcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-54wg-wvf7-cq67same flawChainguard · CC-BY-NC-ND-4.0
- CGA-56xp-qc7c-vxqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-57hj-fj45-g356same flawChainguard · CC-BY-NC-ND-4.0
- CGA-595g-8cmp-4w3wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5cfp-p8j8-ppf3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5fhj-gr8g-w4vhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5qqp-v873-9hxhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-66f2-g85w-j995same flawChainguard · CC-BY-NC-ND-4.0
- CGA-67x7-r938-cc4wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-68v3-824q-rhw4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6fw5-gwcx-cp8jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6hm6-3wjp-prxhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6jhg-q8cv-wgx9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6pgj-3vqv-f59xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6qx3-3cq8-cf89same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6vrg-vj34-f48qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6ww4-5674-qwx3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7379-83m4-h6vxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-74mq-9x74-xp72same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7cm8-qc8r-7x35same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7vwj-w84p-472msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-838h-j25m-8gr6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8623-gh4m-7fj2same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 4.0 vector
- 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-02-04
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-434x-w66g-qw3r
Frequently asked questions
What is CVE-2026-25541?
Is CVE-2026-25541 actively exploited?
What is the CVSS score for CVE-2026-25541?
Running bytes? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-4432same product
- CVE-2026-31812same product
- CVE-2025-4574same product
- CVE-2026-111943same productDistrust compromised intermediate certificates in crypto/x509
- CVE-2026-25727same product
- CVE-2026-42559same product
- CVE-2024-12224same product
- CVE-2026-21643KEVsame weekSQL Injection Vulnerability in FortiClientEMS 7.4.4 Allows Unauthenticated Remote Code Execution
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-434x-w66g-qw3r
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0