RUSTSEC-2026-0294 (GHSA-8MQ4-3MWQ-QVG6)
Vulnerability from osv_rustsec – Published: 2026-09-18 12:00 – Updated: 2026-09-21 09:29 – Source websiteThe String API in iceoryx2-bb-container exposes its contents as mutable bytes through safe APIs, while String::as_str() converts those bytes into a Rust string slice without validating UTF-8. An application can therefore create an invalid &str and trigger undefined behavior using entirely safe Rust.
The API methods as_mut_bytes and deref_mut where removed from the String API and their implementations (PolymorphicString, RelocatableString, and StaticString ) without replacement.
Link to Pull-Request: https://github.com/eclipse-iceoryx/iceoryx2/pull/1956
{
"affected": [
{
"database_specific": {
"categories": [],
"cvss": null,
"informational": "unsound"
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"iceoryx2_bb_container::string::String::as_mut_bytes",
"iceoryx2_bb_container::string::String::deref_mut",
"iceoryx2_bb_container::string::polymorphic_string::PolymorphicString::as_mut_bytes",
"iceoryx2_bb_container::string::polymorphic_string::PolymorphicString::deref_mut",
"iceoryx2_bb_container::string::relocatable_string::RelocatableString::as_mut_bytes",
"iceoryx2_bb_container::string::relocatable_string::RelocatableString::deref_mut",
"iceoryx2_bb_container::string::static_string::StaticString::as_mut_bytes",
"iceoryx2_bb_container::string::static_string::StaticString::deref_mut"
],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "iceoryx2-bb-container",
"purl": "pkg:cargo/iceoryx2-bb-container"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.10.0"
},
{
"introduced": "0.11.0-0"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-8mq4-3mwq-qvg6"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "The String API in iceoryx2-bb-container exposes its contents as mutable bytes through safe APIs, while String::as_str() converts those bytes into a Rust string slice without validating UTF-8. \nAn application can therefore create an invalid \u0026str and trigger undefined behavior using entirely safe Rust.\n\nThe API methods `as_mut_bytes` and `deref_mut` where removed from the String API and their implementations (PolymorphicString, RelocatableString, and StaticString ) without replacement.\nLink to Pull-Request: https://github.com/eclipse-iceoryx/iceoryx2/pull/1956",
"id": "RUSTSEC-2026-0294",
"modified": "2026-09-21T09:29:57Z",
"published": "2026-09-18T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/iceoryx2-bb-container"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0294.html"
},
{
"type": "WEB",
"url": "https://github.com/eclipse-iceoryx/iceoryx2/pull/1956"
}
],
"related": [],
"severity": [],
"summary": "Unsoundness in UTF-8 \u0027String\u0027 trait"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.