GHSA-mrrw-grhq-86gfMediumDisclosed before NVD

Ascii (crate) allows out-of-bounds array indexing in safe code

Published
February 28, 2023
Last Modified
July 16, 2026

📋 Description

Affected version of this crate had implementation of From<&mut AsciiStr> for &mut [u8] and &mut str. This can result in out-of-bounds array indexing in safe code.

The flaw was corrected in commit 8a6c779 by removing those impls.

🎯 Affected products1

  • rust/ascii:>= 0.7.0, < 0.9.3

🔗 References (4)