CVE-2026-25541
published medium CVSS 4.0 · 5.5Bytes is vulnerable to integer overflow in BytesMut::reserve
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tokio-rs | — | bytes>= 1.2.1, < 1.11.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP6 | aws-efs-utilsaarch64 | Advisory build | 3.3.4-150600.17.12.1 | SUSE-SU-2026:5101-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-efs-utilsx86_64 | Advisory build | 3.3.4-150600.17.12.1 | SUSE-SU-2026:5101-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccacheaarch64 | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | sccacheppc64le | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccaches390x | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccachex86_64 | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP6 | snpguestx86_64 | Advisory build | 0.3.2-150600.3.14.1 | SUSE-SU-2026:3577-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-group-neaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-group-nex86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-efs-utilsaarch64 | Advisory build | 3.3.4-150600.17.12.1 | SUSE-SU-2026:5101-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-efs-utilsx86_64 | Advisory build | 3.3.4-150600.17.12.1 | SUSE-SU-2026:5101-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheaarch64 | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheppc64le | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccaches390x | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccachex86_64 | Advisory build | 0.17.0~1-150600.10.14.1 | SUSE-SU-2026:3674-1 |
| SUSE / openSUSE | SLE-15-SP7 | system-group-neaarch64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-15-SP7 | system-group-nex86_64 | Advisory build | 1.5.0~git0.2950b36-150600.10.15.1 | SUSE-SU-2026:3992-1 |
| SUSE / openSUSE | SLE-16 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | agama-cliaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-clippc64le | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-clis390x | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-clix86_64 | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-cli-bash-completionnoarch | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-cli-zsh-completionnoarch | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsppc64le | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptss390x | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsx86_64 | Advisory build | 17+699.92879916c-160000.13.1 | SUSE-SU-2026:24236-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | gstreamer-devtoolsaarch64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | gstreamer-devtoolsppc64le | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | gstreamer-devtoolss390x | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | gstreamer-devtoolsx86_64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | libgstvalidate-1_0-0aarch64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | libgstvalidate-1_0-0ppc64le | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | libgstvalidate-1_0-0s390x | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | libgstvalidate-1_0-0x86_64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | rustupaarch64 | Advisory build | 1.29.1~0-160000.1.1 | SUSE-SU-2026:24014-1 |
| SUSE / openSUSE | SLE-16 | rustupx86_64 | Advisory build | 1.29.1~0-160000.1.1 | SUSE-SU-2026:24014-1 |
| SUSE / openSUSE | SLE-16 | sccacheaarch64 | Advisory build | 0.18.0~2-160000.1.1 | SUSE-SU-2026:23983-1 |
| SUSE / openSUSE | SLE-16 | sccacheppc64le | Advisory build | 0.18.0~2-160000.1.1 | SUSE-SU-2026:23983-1 |
| SUSE / openSUSE | SLE-16 | sccaches390x | Advisory build | 0.18.0~2-160000.1.1 | SUSE-SU-2026:23983-1 |
| SUSE / openSUSE | SLE-16 | sccachex86_64 | Advisory build | 0.18.0~2-160000.1.1 | SUSE-SU-2026:23983-1 |
| SUSE / openSUSE | SLE-16 | system-group-neaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | system-group-neaarch64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | system-group-nex86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23643-1 |
| SUSE / openSUSE | SLE-16 | system-group-nex86_64 | Advisory build | 1.5.0~git0.2950b36-160000.1.1 | SUSE-SU-2026:23659-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-GstValidate-1_0aarch64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-GstValidate-1_0ppc64le | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-GstValidate-1_0s390x | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-GstValidate-1_0x86_64 | Advisory build | 1.26.7-160000.2.1 | SUSE-SU-2026:23572-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2976-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2977-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-150500.3.6.1 | SUSE-SU-2026:2975-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2976-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2977-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-150500.3.6.1 | SUSE-SU-2026:2975-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2976-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-150400.3.6.1 | SUSE-SU-2026:2977-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-150500.3.6.1 | SUSE-SU-2026:2975-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | OPENSUSE-SU-2026:21386-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | afterburnppc64le | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | OPENSUSE-SU-2026:21386-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | afterburns390x | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | OPENSUSE-SU-2026:21386-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | OPENSUSE-SU-2026:21386-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | OPENSUSE-SU-2026:21386-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agamaaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agamappc64le | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agamas390x | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agamax86_64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-autoinstallaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-autoinstallppc64le | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-autoinstalls390x | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-autoinstallx86_64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-cliaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-clippc64le | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-clis390x | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-clix86_64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-cli-bash-completionnoarch | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-cli-fish-completionnoarch | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-cli-zsh-completionnoarch | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-openapiaarch64 | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-openapippc64le | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-openapis390x | Advisory build | 17+699.92879916c-160000.13.1 | OPENSUSE-SU-2026:22075-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tokio-rs | bytes | >= 1.2.1, < 1.11.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-680 CWE-680: Integer Overflow to Buffer Overflow
References
4Provider assertions
2GitHub_M · cna
Bytes is vulnerable to integer overflow in BytesMut::reserve
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2e5cb04ebcbe05f47f39142cf95d1bd2b17c719d7dddf5f41688de3ac2a7a9fc
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record