This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate dioxus-fullstack

Dependencies

(59 total, 9 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.981.0.102up to date
 async-stream^0.3.60.3.6up to date
 async-tungstenite^0.31.00.34.1out of date
 axum^0.8.40.8.9up to date
 axum-core^0.5.20.5.6up to date
 axum-extra^0.10.10.12.6out of date
 base64^0.22.10.22.1up to date
 bytes ⚠️^1.10.11.11.1maybe insecure
 ciborium^0.2.20.2.2up to date
 const-str^0.7.01.1.0out of date
 const_format^0.2.340.2.36up to date
 content_disposition^0.4.00.4.0up to date
 derive_more^2.0.12.1.1up to date
 dioxus-asset-resolver^0.7.90.7.9up to date
 dioxus-cli-config^0.7.90.7.9up to date
 dioxus-core^0.7.90.7.9up to date
 dioxus-fullstack-core^0.7.90.7.9up to date
 dioxus-fullstack-macro^0.7.90.7.9up to date
 dioxus-hooks^0.7.90.7.9up to date
 dioxus-html^0.7.90.7.9up to date
 dioxus-signals^0.7.90.7.9up to date
 form_urlencoded^1.2.11.2.2up to date
 futures^0.3.320.3.32up to date
 futures-channel^0.3.320.3.32up to date
 futures-util^0.3.320.3.32up to date
 gloo-net^0.6.00.7.0out of date
 headers^0.4.10.4.1up to date
 http^1.3.11.4.0up to date
 http-body^1.0.11.0.1up to date
 http-body-util^0.1.30.1.3up to date
 inventory^0.30.3.24up to date
 js-sys^0.3.770.3.98up to date
 mime^0.3.170.3.17up to date
 pin-project^1.1.101.1.13up to date
 postcard^1.1.31.1.3up to date
 reqwest^0.12.280.13.3out of date
 rmp-serde^1.31.3.1up to date
 rustversion^1.0.211.0.22up to date
 send_wrapper^0.6.00.6.0up to date
 serde^1.0.2251.0.228up to date
 serde_json^1.0.1401.0.149up to date
 serde_qs^0.15.01.1.2out of date
 serde_urlencoded^0.7.10.7.1up to date
 thiserror^2.0.122.0.18up to date
 tokio^1.481.52.3up to date
 tokio-stream^0.1.170.1.18up to date
 tokio-tungstenite^0.28.00.29.0out of date
 tokio-util^0.7.150.7.18up to date
 tower^0.5.20.5.3up to date
 tower-http^0.6.80.6.10up to date
 tower-layer^0.3.30.3.3up to date
 tracing^0.1.410.1.44up to date
 tungstenite^0.270.29.0out of date
 url^2.5.42.5.8up to date
 wasm-bindgen^0.2.1000.2.121up to date
 wasm-bindgen-futures^0.4.500.4.71up to date
 wasm-streams^0.4.20.5.0out of date
 web-sys^0.3.770.3.98up to date
 xxhash-rust^0.8.150.8.15up to date

Security Vulnerabilities

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

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.