RUSTSEC-2025-0174
not scored yetcargo-component is unmaintained
The maintainers of cargo-component no longer have the resources to support the project.
In the August 26, 2025 discussion about archiving it, Calvin Prewitt confirmed the lack of resources,
and multiple maintainers supported archiving the repository.
Pat Hickey reaffirmed the plan to follow through on archiving on November 17, 2026.
For Rust components targeting WASI, use cargo build --target wasm32-wasip2,
with the wasi crate for WASI interfaces or wit-bindgen for custom WIT interfaces.
For other targets, use wit-bindgen to generate bindings and wasm-tools component new
to convert the resulting core WebAssembly module into a component.
See the linked maintainer discussion for migration details and differences from cargo-component.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | cargo-component | >= 0.0.0-0 |
References
- https://crates.io/crates/cargo-component · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0174.html · ADVISORY
- https://github.com/bytecodealliance/cargo-component/issues/410 · REPORT
- https://bytecodealliance.github.io/zulip-archive/stream/407292-cargo-component/topic/On.20archiving.20cargo-component.html#536298124 · WEB
- https://bytecodealliance.github.io/zulip-archive/stream/407292-cargo-component/topic/On.20archiving.20cargo-component.html#641391584 · WEB
History
- 2 Dec 2026 11:48 UTC · OSV: first stored (published 26 Aug 2025)