Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ascii
  4. ›
  5. GHSA-mrrw-grhq-86gf

GHSA-mrrw-grhq-86gf: Ascii (crate) allows out-of-bounds array indexing in safe code

February 28, 2023 (updated July 16, 2026)

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.

References

  • github.com/advisories/GHSA-mrrw-grhq-86gf
  • github.com/tomprogrammer/rust-ascii/issues/64
  • github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc
  • rustsec.org/advisories/RUSTSEC-2023-0015.html

Code Behaviors & Features

Detect and mitigate GHSA-mrrw-grhq-86gf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.7.0 before 0.9.3

Fixed versions

  • 0.9.3

Solution

Upgrade to version 0.9.3 or above.

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

cargo/ascii/GHSA-mrrw-grhq-86gf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:37 +0000.