{"id":"GHSA-2c6h-4899-wjxr","aliases":["GHSA-2c6h-4899-wjxr","RUSTSEC-2026-0080"],"related":[],"kind":"vulnerability","state":"published","title":"scaly: Multiple soundness issues in Rust safe APIs","summary":"Affected versions contain multiple safe APIs that can trigger undefined behavior:\n\n- `Array<T>::index` can perform an out-of-bounds read.\n- `String::get_length` can perform an out-of-bounds read.\n- `String::append_character` can perform an invalid write.\n- `String::to_c_string` can perform an out-of-bounds write.\n\nThese issues were reproduced against `scaly` 0.0.37 under Miri. The crate is unmaintained.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Affected versions contain multiple safe APIs that can trigger undefined behavior:\n\n- `Array<T>::index` can perform an out-of-bounds read.\n- `String::get_length` can perform an out-of-bounds read.\n- `String::append_character` can perform an invalid write.\n- `String::to_c_string` can perform an out-of-bounds write.\n\nThese issues were reproduced against `scaly` 0.0.37 under Miri. The crate is unmaintained.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions contain multiple safe APIs that can trigger undefined\nbehavior:\n\n- `Array<T>::index` can perform an out-of-bounds read.\n- `String::get_length` can perform an out-of-bounds read.\n- `String::append_character` can perform an invalid write.\n- `String::to_c_string` can perform an out-of-bounds write.\n\nThese issues were reproduced against `scaly` 0.0.37 under Miri. And the crate is unmaintained.","format":"markdown","source":"rustsec"}],"published":"2026-01-19T12:00:00.000Z","modified":"2026-04-05T05:56:19.487Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.37"}],"ecosystem":"crates.io","package":"scaly","purl":"pkg:cargo/scaly","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"scaly","purl":"pkg:cargo/scaly","source":"rustsec"}],"references":[{"url":"https://github.com/rustsec/advisory-db/issues/2594","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rschleitzer/Scaly","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0080.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/scaly","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2c6h-4899-wjxr","url":"https://github.com/advisories/GHSA-2c6h-4899-wjxr","licence":"CC-BY-4.0","modified":"2026-04-05T05:56:19.487Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0080","url":"https://rustsec.org/advisories/RUSTSEC-2026-0080.html","licence":"CC0-1.0","modified":"2026-04-05T05:30:42.000Z"}],"updatedAt":"2026-11-25T22:56:43.329Z"}