GHSA-2c6h-4899-wjxr Multiple soundness issues in `scaly` safe APIs
Safe APIs in the unmaintained scaly Rust library allow out-of-bounds reads and writes, potentially leading to memory corruption or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-2c6h-4899-wjxr?
GHSA-2c6h-4899-wjxr is a memory corruption vulnerability in scaly, published on 19 Jan 2026.
Official description
Affected versions contain multiple safe APIs that can trigger undefined behavior:
Array<T>::indexcan perform an out-of-bounds read.String::get_lengthcan perform an out-of-bounds read.String::append_charactercan perform an invalid write.String::to_c_stringcan perform an out-of-bounds write.
These issues were reproduced against scaly 0.0.37 under Miri. And the crate is unmaintained.
Which versions are affected by GHSA-2c6h-4899-wjxr?
3 open source packages ship an affected version, including scaly.
| Package | Affected | Fixed in |
|---|---|---|
scaly crates.io | All versions to 0.0.37 | None |
scaly crates.io | All versions to 0.0.37 | None |
scaly crates.io | From 0.0.0-0 | None |
How do I fix GHSA-2c6h-4899-wjxr?
No fix has been published for GHSA-2c6h-4899-wjxr yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GHSA-2c6h-4899-wjxr being exploited?
There is no known exploitation of GHSA-2c6h-4899-wjxr in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2026-0080.