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.osv.dev/v1/vulns/GHSA-ghm9-cr32-g9qj
Aliases
  • CVE-2026-41681
Downstream
Related
Published
2026-04-22T21:05:02Z
Modified
2026-05-05T16:06:51.198803Z
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
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-22T21:05:02Z",
    "cwe_ids": [
        "CWE-121"
    ],
    "severity": "HIGH",
    "nvd_published_at": "2026-04-24T18:16:29Z"
}
References

Affected packages

crates.io / openssl

Package

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"