CVE-2026-41676
rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. 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.285% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 7.2 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/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:29.891Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:29.891Z | 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:29.891Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:29.891Z | CVE Program |
Affected versions and configuration
rust-openssl rust-openssl; default status: unknown: >= 0.9.27, < 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.9.27, < 0.10.78"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-41676",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-24T17:43:14.622885Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-24T17:43:20.693Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-pqf5-4pqq-29f5",
"aliases": [
"CVE-2026-41676",
"RUSTSEC-2026-0473"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.9.27"
},
{
"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-pqf5-4pqq-29f5/GHSA-pqf5-4pqq-29f5.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/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-pqf5-4pqq-29f5",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41676",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2606",
"type": "WEB"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/commit/09b425e5f59a2466d806e71a83a9a449c914c596",
"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-131",
"CWE-787"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-24T18:16:29Z",
"github_reviewed_at": "2026-04-22T21:22:00Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2026-0473",
"aliases": [
"CVE-2026-41676",
"GHSA-pqf5-4pqq-29f5"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.9.27"
},
{
"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-0473.json",
"categories": [
"memory-corruption"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": [
"openssl::derive::Deriver::derive",
"openssl::pkey_ctx::PkeyCtxRef::derive"
]
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/openssl",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0473.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2606",
"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:22:00.000Z
Source modification: 2026-11-10T14:10:59.704ZDocument 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.488ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - CVE ProgramConsulted: 2026-11-19T12:58:29.891ZArchived source JSON
Source publication: 2026-04-24T17:16:20.539Z
Source modification: 2026-04-24T17:43:20.693ZDocument fingerprint
bc6b0359d5dd8dbf19c535a898773457d12d2f18ac79bd90f6361a56f0f2951f - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived 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