GHSA-ghm9-cr32-g9qj

Suggest an improvement
Source
https://github.com/advisories/GHSA-ghm9-cr32-g9qj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-ghm9-cr32-g9qj/GHSA-ghm9-cr32-g9qj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ghm9-cr32-g9qj
Aliases
Downstream
CGA (34)
MINI (8)
Published
2026-04-22T21:05:02Z
Modified
2026-07-17T21:14:37Z
Severity
  • 8.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check
Details

EVP_DigestFinal() always writes EVP_MD_CTX_size(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digest_final() writes past its end, usually corrupting the stack. This is reachable from safe Rust.

Database specific
{
    "cwe_ids":  [
        "CWE-121"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-22T21:05:02Z",
    "nvd_published_at":  "2026-04-24T18:16:29Z",
    "severity":  "HIGH"
}
References

Affected packages

crates.io / openssl

Package

Name
openssl
View open source insights on deps.dev
Purl
pkg:cargo/openssl

Affected ranges

Type
SEMVER
Events
Introduced
0.10.39
Fixed
0.10.78

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-ghm9-cr32-g9qj/GHSA-ghm9-cr32-g9qj.json"