RUSTSEC-2026-0294

Source
https://rustsec.org/advisories/RUSTSEC-2026-0294
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0294.json
JSON Data
https://api.test.osv.dev/v1/vulns/RUSTSEC-2026-0294
Aliases
  • GHSA-8mq4-3mwq-qvg6
Published
2026-09-18T12:00:00Z
Modified
2026-09-21T09:45:02Z
Summary
Unsoundness in UTF-8 'String' trait
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. 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

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / iceoryx2-bb-container

Package

Name
iceoryx2-bb-container
View open source insights on deps.dev
Purl
pkg:cargo/iceoryx2-bb-container

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.10.0
Introduced
0.11.0-0

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":  []
    }
}

Database specific

categories
[]
cvss
null
informational
"unsound"
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0294.json"