GHSA-2c6h-4899-wjxr: scaly Multiple Soundness Issues Vulnerability
HIGHGHSA-2c6h-4899-wjxr is a HIGH multiple soundness issues vulnerability (CWE-125: Out-of-bounds Read) affecting scaly libraries in the crates.io ecosystem. The issue involves multiple soundness issues in rust safe apis. Remediation is available in the latest vendor maintenance releases.
GHSA-2c6h-4899-wjxr at a Glance
How to Fix GHSA-2c6h-4899-wjxr
To remediate this vulnerability, upgrade all affected scaly dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade scaly to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for scaly
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2c6h-4899-wjxr, inspect your project dependencies for scaly:
inspect dependencies for scaly
Analyze the terminal output to locate any version of scaly in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In scaly, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-2c6h-4899-wjxr Affected scaly Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
scaly
|
crates.io |
≤ 0.0.37
|
|
References
Frequently Asked Questions
What is GHSA-2c6h-4899-wjxr?
Which scaly versions are affected?
What version fixes GHSA-2c6h-4899-wjxr?
Is scaly affected?
What CWE is associated with GHSA-2c6h-4899-wjxr?
How can I check crates.io dependencies for GHSA-2c6h-4899-wjxr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2c6h-4899-wjxr",
"modified" : "2026-04-04T05:45:50Z",
"published" : "2026-04-04T05:45:17Z",
"aliases" : [ ],
"summary" : "scaly: Multiple soundness issues in Rust safe APIs",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "scaly"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.37"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rustsec/advisory-db/issues/2594"
}, {
"type" : "WEB",
"url" : "https://github.com/rschleitzer/Scaly"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0080.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125", "CWE-787" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-04T05:45:17Z",
"nvd_published_at" : null
}
}