GHSA-2c6h-4899-wjxr

Suggest an improvement
Source
https://github.com/advisories/GHSA-2c6h-4899-wjxr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-2c6h-4899-wjxr/GHSA-2c6h-4899-wjxr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2c6h-4899-wjxr
Aliases
Published
2026-04-04T05:45:17Z
Modified
2026-04-05T05:56:19.487797532Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
scaly: Multiple soundness issues in Rust safe APIs
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-125",
        "CWE-787"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2026-04-04T05:45:17Z"
}
References

Affected packages

crates.io / scaly

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.37

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-2c6h-4899-wjxr/GHSA-2c6h-4899-wjxr.json"