Skip to content

Commit bc64e62

Browse files
1 parent 7548721 commit bc64e62

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-ghm9-cr32-g9qj",
4+
"modified": "2026-04-22T21:05:02Z",
5+
"published": "2026-04-22T21:05:02Z",
6+
"aliases": [
7+
"CVE-2026-41681"
8+
],
9+
"summary": "rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check",
10+
"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.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "crates.io",
21+
"name": "openssl"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0.10.39"
29+
},
30+
{
31+
"fixed": "0.10.78"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/rust-openssl/rust-openssl/pull/2608"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe"
50+
},
51+
{
52+
"type": "PACKAGE",
53+
"url": "https://github.com/rust-openssl/rust-openssl"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-121"
63+
],
64+
"severity": "HIGH",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-04-22T21:05:02Z",
67+
"nvd_published_at": null
68+
}
69+
}

0 commit comments

Comments
 (0)