cvelo
P4 · InfoEPSS 0.2%

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

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 versionsFixed in
    from 0.0.0-0 to before 0.10.00.10.0

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.