Email me

Rust advisories / iceoryx2-bb-container

UnsoundRUSTSEC-2026-0294 · iceoryx2-bb-container

RUSTSEC-2026-0294: Unsoundness in UTF-8 'String' trait

Short answericeoryx2-bb-container has an API that can cause undefined behaviour from safe code: Unsoundness in UTF-8 'String' trait. Fixed in 0.10.0.

Crateiceoryx2-bb-container
TypeUnsound
Affected versionsBefore 0.10.0; from 0.11.0 onward (every version).
Fixed in0.10.0
Severitynot scored
Published2026-09-18
Last changed2026-09-23
Also known asCVE-2026-92612, GHSA-8mq4-3mwq-qvg6
Affected functionsiceoryx2_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

What to do

  1. See which version you have: cargo tree -i iceoryx2-bb-container (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p iceoryx2-bb-container. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example iceoryx2-bb-container = "0.10.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ