# GHSA-2c6h-4899-wjxr: scaly: Multiple soundness issues in Rust safe APIs

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-01-19T12:00:00.000Z
- Modified: 2026-04-05T05:56:19.487Z
- Also known as: RUSTSEC-2026-0080
- Weaknesses: CWE-125, CWE-787

## 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.

(As written by GitHub Advisory Database.)

## Affected

- scaly (crates.io): up to 0.0.37; from 0.0.0-0

## References

- <https://github.com/rustsec/advisory-db/issues/2594> (report, web)
- <https://github.com/rschleitzer/Scaly> (web)
- <https://rustsec.org/advisories/RUSTSEC-2026-0080.html> (advisory, web)
- <https://crates.io/crates/scaly> (package)

## Sources

- GitHub Advisory Database: [GHSA-2c6h-4899-wjxr](https://github.com/advisories/GHSA-2c6h-4899-wjxr), CC-BY-4.0, modified 2026-04-05
- RustSec Advisory Database: [RUSTSEC-2026-0080](https://rustsec.org/advisories/RUSTSEC-2026-0080.html), CC0-1.0, modified 2026-04-05

---

Page: https://cve.day/GHSA-2c6h-4899-wjxr · Whole record: https://cve.day/GHSA-2c6h-4899-wjxr.json · Rebuilt by cve.day 2026-11-25T22:56:43.329Z
