---
id: RUSTSEC-2026-0294
aliases:
  - GHSA-8mq4-3mwq-qvg6
title: Unsoundness in UTF-8 'String' trait
summary: Unsoundness in UTF-8 'String' trait
severity: none
vendor: iceoryx2-bb-container
product: iceoryx2-bb-container
ecosystem: rust
affected:
  - 'iceoryx2-bb-container >= 0.11.0-0, < 0.10.0'
patched:
  - iceoryx2-bb-container 0.10.0
published: '2026-09-18'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T09:45:03.168416810Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2026-0294'
references:
  - url: 'https://crates.io/crates/iceoryx2-bb-container'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0294.html'
  - url: 'https://github.com/eclipse-iceoryx/iceoryx2/pull/1956'
tags:
  - osv
  - rust
ingestedAt: '2026-09-21T16:06:16.786Z'
---

## Overview

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

## Affected packages

- `iceoryx2-bb-container >= 0.11.0-0, < 0.10.0`

## Remediation

Upgrade to a patched release:

- `iceoryx2-bb-container 0.10.0`
