Unsoundness in UTF-8 'String' trait
- CVE-2026-92612
- GHSA-8mq4-3mwq-qvg6
- RUSTSEC-2026-0294
Description
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. 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
Text from the OSV record.
Recommendation
iceoryx2-bb-container
- If you run a version from 0.0.0-0 to before 0.10.0update to 0.10.0 or laterMajor version change: expect breaking changesiceoryx2-bb-container 0.10.0 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
iceoryx2-bb-containercrates.io
Affected versions Fixed in from 0.0.0-0 to before 0.10.0 0.10.0
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.