GHSA-2c6h-4899-wjxr
JSON

high

scaly: Multiple soundness issues in Rust safe APIs

Severity
high CVSS:4.0 by GitHub
Published
Last changed
Also known as
RUSTSEC-2026-0080

Description

Affected versions contain multiple safe APIs that can trigger undefined behavior:

  • Array<T>::index can perform an out-of-bounds read.
  • String::get_length can perform an out-of-bounds read.
  • String::append_character can perform an invalid write.
  • String::to_c_string can perform an out-of-bounds write.

These issues were reproduced against scaly 0.0.37 under Miri. The crate is unmaintained.

Affected

Product or packageVersionsReported by
scaly (crates.io)up to 0.0.37, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database

Classification

What each source says

GitHub Advisory Database

Affected versions contain multiple safe APIs that can trigger undefined behavior:

  • Array<T>::index can perform an out-of-bounds read.
  • String::get_length can perform an out-of-bounds read.
  • String::append_character can perform an invalid write.
  • String::to_c_string can perform an out-of-bounds write.

These issues were reproduced against scaly 0.0.37 under Miri. The crate is unmaintained.

RustSec Advisory Database

Affected versions contain multiple safe APIs that can trigger undefined behavior:

  • Array<T>::index can perform an out-of-bounds read.
  • String::get_length can perform an out-of-bounds read.
  • String::append_character can perform an invalid write.
  • String::to_c_string can perform an out-of-bounds write.

These issues were reproduced against scaly 0.0.37 under Miri. And the crate is unmaintained.

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-2c6h-4899-wjxr changed 2026-04-05CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2026-0080 changed 2026-04-05CC0-1.0