CVE-2026-41681
rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, 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. This vulnerability is fixed in 0.10.78.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.359% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.1 · published by GitHub_MCVSS: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
Assessment source · checked 2026-11-19T12:58:30.135Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:30.135Z | CVE Program |
| epss | verified | 2026-11-19T16:04:50.042Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:41.218Z | OSV |
| affected | verified | 2026-11-19T12:58:30.135Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:30.135Z | CVE Program |
Affected versions and configuration
rust-openssl rust-openssl; default status: unknown: >= 0.10.39, < 0.10.78 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "rust-openssl",
"product": "rust-openssl",
"versions": [
{
"status": "affected",
"version": ">= 0.10.39, < 0.10.78"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-41681",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-24T17:42:49.447277Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-24T17:42:54.765Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-ghm9-cr32-g9qj",
"aliases": [
"CVE-2026-41681",
"RUSTSEC-2026-0475"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.10.39"
},
{
"fixed": "0.10.78"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:cargo/openssl",
"ecosystem": "crates.io"
},
"versions": [],
"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"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-ghm9-cr32-g9qj",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41681",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2608",
"type": "WEB"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/commit/826c3888b77add418b394770e2b2e3a72d9f92fe",
"type": "WEB"
},
{
"url": "https://github.com/rust-openssl/rust-openssl",
"type": "PACKAGE"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-121"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-24T18:16:29Z",
"github_reviewed_at": "2026-04-22T21:05:02Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2026-0475",
"aliases": [
"CVE-2026-41681",
"GHSA-ghm9-cr32-g9qj"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.10.39"
},
{
"fixed": "0.10.78"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:cargo/openssl",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"cvss": null,
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0475.json",
"categories": [
"memory-corruption"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": [
"openssl::md_ctx::MdCtxRef::digest_final"
]
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/openssl",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0475.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2608",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"license": "CC0-1.0"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | crates.io / package | openssl | Not a distribution channel | 0.10.78 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:41.218ZArchived source JSON
Source publication: 2026-04-22T21:05:02.000Z
Source modification: 2026-11-10T14:10:39.444ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - OSVConsulted: 2026-11-19T12:52:41.218ZArchived source JSON
Source publication: 2026-04-19T12:00:00.000Z
Source modification: 2026-11-10T14:00:02.487ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - CVE ProgramConsulted: 2026-11-19T12:58:30.135ZArchived source JSON
Source publication: 2026-04-24T17:19:15.187Z
Source modification: 2026-04-24T17:42:54.765ZDocument fingerprint
4e3e119c4ba147aa9299d1aa36b33a2250f94eb01a0ff080cd3323cb9fbe78ee - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:50.042ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7e3baeaa25e4f4d3f88d7df0a5c946bd568f06b8497afa562ddc93c71aed8205
Official status history
- UNKNOWN → PUBLISHED · · evidence