Action not permitted
Modal body text goes here.
Modal Title
Modal Body
GHSA-434X-W66G-QW3R
Vulnerability from github – Published: 2026-02-03 19:17 – Updated: 2026-02-05 00:37Details
In the unique reclaim path of BytesMut::reserve, the condition
if 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.
PoC
use bytes::*;
fn main() {
let mut a = BytesMut::from(&b"hello world"[..]);
let mut b = a.split_off(5);
// Ensure b becomes the unique owner of the backing storage
drop(a);
// Trigger overflow in new_cap + offset inside reserve
b.reserve(usize::MAX - 6);
// This call relies on the corrupted cap and may cause UB & HBO
b.put_u8(b'h');
}
Workarounds
Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.
This vulnerability is also known as RUSTSEC-2026-0007.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "bytes"
},
"ranges": [
{
"events": [
{
"introduced": "1.2.1"
},
{
"fixed": "1.11.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-25541"
],
"database_specific": {
"cwe_ids": [
"CWE-680"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-03T19:17:46Z",
"nvd_published_at": "2026-02-04T22:16:00Z",
"severity": "MODERATE"
},
"details": "# Details\n\nIn the unique reclaim path of `BytesMut::reserve`, the condition\n```rs\nif v_capacity \u003e= new_cap + offset\n```\nuses 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.\n\nThis behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.\n\n## PoC\n\n```rs\nuse bytes::*;\n\nfn main() {\n let mut a = BytesMut::from(\u0026b\"hello world\"[..]);\n let mut b = a.split_off(5);\n\n // Ensure b becomes the unique owner of the backing storage\n drop(a);\n\n // Trigger overflow in new_cap + offset inside reserve\n b.reserve(usize::MAX - 6);\n\n // This call relies on the corrupted cap and may cause UB \u0026 HBO\n b.put_u8(b\u0027h\u0027);\n}\n```\n\n# Workarounds\n\nUsers of `BytesMut::reserve` are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.\n\nThis vulnerability is also known as [RUSTSEC-2026-0007](https://rustsec.org/advisories/RUSTSEC-2026-0007.html).",
"id": "GHSA-434x-w66g-qw3r",
"modified": "2026-02-05T00:37:18Z",
"published": "2026-02-03T19:17:46Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/tokio-rs/bytes/security/advisories/GHSA-434x-w66g-qw3r"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25541"
},
{
"type": "WEB",
"url": "https://github.com/tokio-rs/bytes/commit/d0293b0e35838123c51ca5dfdf468ecafee4398f"
},
{
"type": "PACKAGE",
"url": "https://github.com/tokio-rs/bytes"
},
{
"type": "WEB",
"url": "https://github.com/tokio-rs/bytes/releases/tag/v1.11.1"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0007.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "bytes has integer overflow in BytesMut::reserve"
}
cleanstart-2026-kn30288
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.27.6-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-KN30288",
"modified": "2026-02-18T09:40:19Z",
"published": "2026-02-19T00:39:07.163109Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-KN30288"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-2GH3-RMM4-6RQ5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-434X-W66G-QW3R"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-R6V5-FH4H-64XC"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-RHFX-M35P-FF5J"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-XWFJ-JGWM-7WP5"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for GHSA-2GH3-RMM4-6RQ5, GHSA-434X-W66G-QW3R, GHSA-R6V5-FH4H-64XC, GHSA-RHFX-M35P-FF5J, GHSA-XWFJ-JGWM-7WP5 applied in versions: 1.27.5-r1, 1.27.6-r0",
"upstream": [
"GHSA-2GH3-RMM4-6RQ5",
"GHSA-434X-W66G-QW3R",
"GHSA-R6V5-FH4H-64XC",
"GHSA-RHFX-M35P-FF5J",
"GHSA-XWFJ-JGWM-7WP5"
]
}
cleanstart-2026-ej96468
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.28.5-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-EJ96468",
"modified": "2026-03-25T05:09:00Z",
"published": "2026-04-01T09:22:08.656529Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-EJ96468.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-pwjx-qhcg-rvj4"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-pwjx-qhcg-rvj4, ghsa-r6v5-fh4h-64xc, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.28.2-r0, 1.28.4-r0, 1.28.4-r1, 1.28.5-r0",
"upstream": [
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-pwjx-qhcg-rvj4",
"ghsa-r6v5-fh4h-64xc",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-ev91316
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.27.6-r1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-EV91316",
"modified": "2026-03-25T04:58:46Z",
"published": "2026-04-01T09:22:33.462978Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-EV91316.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/CVE-2026-4428"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-rhfx-m35p-ff5j"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4428"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for CVE-2026-4428, ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-r6v5-fh4h-64xc, ghsa-rhfx-m35p-ff5j, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.27.5-r1, 1.27.6-r0, 1.27.6-r1",
"upstream": [
"CVE-2026-4428",
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-r6v5-fh4h-64xc",
"ghsa-rhfx-m35p-ff5j",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-hh87643
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.26.8-r1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-HH87643",
"modified": "2026-03-25T04:50:32Z",
"published": "2026-04-01T09:22:32.645637Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-HH87643.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/CVE-2026-4428"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-rhfx-m35p-ff5j"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4428"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for CVE-2026-4428, ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-r6v5-fh4h-64xc, ghsa-rhfx-m35p-ff5j, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.26.8-r0, 1.26.8-r1",
"upstream": [
"CVE-2026-4428",
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-r6v5-fh4h-64xc",
"ghsa-rhfx-m35p-ff5j",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-jm60128
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.28.4-r1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-JM60128",
"modified": "2026-03-25T05:05:50Z",
"published": "2026-04-01T09:22:08.268986Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-JM60128.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/CVE-2026-4428"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-pwjx-qhcg-rvj4"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4428"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for CVE-2026-4428, ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-pwjx-qhcg-rvj4, ghsa-r6v5-fh4h-64xc, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.28.2-r0, 1.28.4-r0, 1.28.4-r1",
"upstream": [
"CVE-2026-4428",
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-pwjx-qhcg-rvj4",
"ghsa-r6v5-fh4h-64xc",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-kw90815
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.27.8-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-KW90815",
"modified": "2026-03-25T05:02:40Z",
"published": "2026-04-01T09:22:32.438088Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-KW90815.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/CVE-2026-4428"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-rhfx-m35p-ff5j"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4428"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for CVE-2026-4428, ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-r6v5-fh4h-64xc, ghsa-rhfx-m35p-ff5j, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.27.5-r1, 1.27.6-r0, 1.27.6-r1, 1.27.8-r0",
"upstream": [
"CVE-2026-4428",
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-r6v5-fh4h-64xc",
"ghsa-rhfx-m35p-ff5j",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-lk63891
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
| URL | Type | |||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.29.1-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-LK63891",
"modified": "2026-03-25T05:12:36Z",
"published": "2026-04-01T09:22:08.586608Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-LK63891.json"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/CVE-2026-4428"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-2gh3-rmm4-6rq5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-394x-vwmw-crm3"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-434x-w66g-qw3r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-65p9-r9h6-22vj"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-9f94-5g5w-gf6r"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-hfpc-8r3f-gw53"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-pwjx-qhcg-rvj4"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-r6v5-fh4h-64xc"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-rhfx-m35p-ff5j"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-vw5v-4f2q-w9xf"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/ghsa-xwfj-jgwm-7wp5"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4428"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for CVE-2026-4428, ghsa-2gh3-rmm4-6rq5, ghsa-394x-vwmw-crm3, ghsa-434x-w66g-qw3r, ghsa-65p9-r9h6-22vj, ghsa-9f94-5g5w-gf6r, ghsa-hfpc-8r3f-gw53, ghsa-pwjx-qhcg-rvj4, ghsa-r6v5-fh4h-64xc, ghsa-rhfx-m35p-ff5j, ghsa-vw5v-4f2q-w9xf, ghsa-xwfj-jgwm-7wp5 applied in versions: 1.28.2-r0, 1.29.0-r0, 1.29.1-r0",
"upstream": [
"CVE-2026-4428",
"ghsa-2gh3-rmm4-6rq5",
"ghsa-394x-vwmw-crm3",
"ghsa-434x-w66g-qw3r",
"ghsa-65p9-r9h6-22vj",
"ghsa-9f94-5g5w-gf6r",
"ghsa-hfpc-8r3f-gw53",
"ghsa-pwjx-qhcg-rvj4",
"ghsa-r6v5-fh4h-64xc",
"ghsa-rhfx-m35p-ff5j",
"ghsa-vw5v-4f2q-w9xf",
"ghsa-xwfj-jgwm-7wp5"
]
}
cleanstart-2026-nn87556
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.29.0-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-NN87556",
"modified": "2026-02-18T09:40:19Z",
"published": "2026-02-19T00:39:07.788394Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-NN87556"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-2GH3-RMM4-6RQ5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-434X-W66G-QW3R"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-R6V5-FH4H-64XC"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-XWFJ-JGWM-7WP5"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for GHSA-2GH3-RMM4-6RQ5, GHSA-434X-W66G-QW3R, GHSA-R6V5-FH4H-64XC, GHSA-XWFJ-JGWM-7WP5 applied in versions: 1.28.2-r0, 1.29.0-r0",
"upstream": [
"GHSA-2GH3-RMM4-6RQ5",
"GHSA-434X-W66G-QW3R",
"GHSA-R6V5-FH4H-64XC",
"GHSA-XWFJ-JGWM-7WP5"
]
}
cleanstart-2026-oj16660
Vulnerability from cleanstart
Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.
{
"affected": [
{
"package": {
"ecosystem": "CleanStart",
"name": "ztunnel-fips"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.28.4-r0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"credits": [],
"database_specific": {},
"details": "Multiple security vulnerabilities affect the ztunnel-fips package. These issues are resolved in later releases. See references for individual vulnerability details.",
"id": "CLEANSTART-2026-OJ16660",
"modified": "2026-02-18T09:40:19Z",
"published": "2026-02-19T00:39:07.225007Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cleanstart-dev/cleanstart-security-advisories/tree/main/advisories/2026/CLEANSTART-2026-OJ16660"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-2GH3-RMM4-6RQ5"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-434X-W66G-QW3R"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-R6V5-FH4H-64XC"
},
{
"type": "WEB",
"url": "https://osv.dev/vulnerability/GHSA-XWFJ-JGWM-7WP5"
}
],
"related": [],
"schema_version": "1.7.3",
"summary": "Security fixes for GHSA-2GH3-RMM4-6RQ5, GHSA-434X-W66G-QW3R, GHSA-R6V5-FH4H-64XC, GHSA-XWFJ-JGWM-7WP5 applied in versions: 1.28.2-r0, 1.28.4-r0",
"upstream": [
"GHSA-2GH3-RMM4-6RQ5",
"GHSA-434X-W66G-QW3R",
"GHSA-R6V5-FH4H-64XC",
"GHSA-XWFJ-JGWM-7WP5"
]
}
CVE-2026-25541 (GCVE-0-2026-25541)
Vulnerability from cvelistv5 – Published: 2026-02-04 22:03 – Updated: 2026-02-05 15:13- CWE-680 - Integer Overflow to Buffer Overflow
| URL | Tags | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-25541",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-02-05T15:13:12.910010Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-02-05T15:13:34.031Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "bytes",
"vendor": "tokio-rs",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.2.1, \u003c 1.11.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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 \u003e= 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."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-680",
"description": "CWE-680: Integer Overflow to Buffer Overflow",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-02-04T22:03:53.554Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/tokio-rs/bytes/security/advisories/GHSA-434x-w66g-qw3r",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/tokio-rs/bytes/security/advisories/GHSA-434x-w66g-qw3r"
},
{
"name": "https://github.com/tokio-rs/bytes/commit/d0293b0e35838123c51ca5dfdf468ecafee4398f",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/tokio-rs/bytes/commit/d0293b0e35838123c51ca5dfdf468ecafee4398f"
},
{
"name": "https://github.com/tokio-rs/bytes/releases/tag/v1.11.1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/tokio-rs/bytes/releases/tag/v1.11.1"
},
{
"name": "https://rustsec.org/advisories/RUSTSEC-2026-0007.html",
"tags": [
"x_refsource_MISC"
],
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0007.html"
}
],
"source": {
"advisory": "GHSA-434x-w66g-qw3r",
"discovery": "UNKNOWN"
},
"title": "Bytes is vulnerable to integer overflow in BytesMut::reserve"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-25541",
"datePublished": "2026-02-04T22:03:53.554Z",
"dateReserved": "2026-02-02T19:59:47.375Z",
"dateUpdated": "2026-02-05T15:13:34.031Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
rustsec-2026-0007
Vulnerability from osv_rustsec
In the unique reclaim path of BytesMut::reserve, the condition
if 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.
PoC
use bytes::*;
fn main() {
let mut a = BytesMut::from(&b"hello world"[..]);
let mut b = a.split_off(5);
// Ensure b becomes the unique owner of the backing storage
drop(a);
// Trigger overflow in new_cap + offset inside reserve
b.reserve(usize::MAX - 6);
// This call relies on the corrupted cap and may cause UB & HBO
b.put_u8(b'h');
}
Workarounds
Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "bytes",
"purl": "pkg:cargo/bytes"
},
"ranges": [
{
"events": [
{
"introduced": "1.2.1"
},
{
"fixed": "1.11.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"CVE-2026-25541",
"GHSA-434x-w66g-qw3r"
],
"database_specific": {
"license": "CC-BY-4.0"
},
"details": "In the unique reclaim path of `BytesMut::reserve`, the condition\n```rs\nif v_capacity \u003e= new_cap + offset\n```\nuses 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.\n\nThis behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.\n\n## PoC\n\n```rs\nuse bytes::*;\n\nfn main() {\n let mut a = BytesMut::from(\u0026b\"hello world\"[..]);\n let mut b = a.split_off(5);\n\n // Ensure b becomes the unique owner of the backing storage\n drop(a);\n\n // Trigger overflow in new_cap + offset inside reserve\n b.reserve(usize::MAX - 6);\n\n // This call relies on the corrupted cap and may cause UB \u0026 HBO\n b.put_u8(b\u0027h\u0027);\n}\n```\n\n# Workarounds\n\nUsers of `BytesMut::reserve` are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.",
"id": "RUSTSEC-2026-0007",
"modified": "2026-02-04T06:56:11Z",
"published": "2026-02-03T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/bytes"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0007.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-434x-w66g-qw3r"
}
],
"related": [],
"severity": [],
"summary": "Integer overflow in `BytesMut::reserve`"
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.