CVE-2026-41678
rust-openssl: Incorrect bounds assertion in aes key wrap
rust-openssl provides OpenSSL bindings for the Rust programming language. From to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. 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.251% · 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 · 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.941Z
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:29.941Z | 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.941Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:29.941Z | CVE Program |
Affected versions and configuration
rust-openssl rust-openssl; default status: unknown: >= 0.10.24, < 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.24, < 0.10.78"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-41678",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-24T18:27:46.176271Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-24T18:33:14.697Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-8c75-8mhr-p7r9",
"aliases": [
"CVE-2026-41678",
"RUSTSEC-2026-0463"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.10.24"
},
{
"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-8c75-8mhr-p7r9/GHSA-8c75-8mhr-p7r9.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-8c75-8mhr-p7r9",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41678",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2604",
"type": "WEB"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/commit/718d07ff8ff7be417d5b7a6a0047f1607520b3b6",
"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-787"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-24T18:16:29Z",
"github_reviewed_at": "2026-04-22T21:17:32Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2026-0463",
"aliases": [
"CVE-2026-41678",
"GHSA-8c75-8mhr-p7r9"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.10.24"
},
{
"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-0463.json",
"categories": [
"memory-corruption"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": [
"openssl::aes::unwrap_key"
]
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/openssl",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0463.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/rust-openssl/rust-openssl/pull/2604",
"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:17:32.000Z
Source modification: 2026-11-09T16:26:14.394ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - OSVConsulted: 2026-11-19T12:52:41.218ZArchived source JSON
Source publication: 2026-04-19T12:00:00.000Z
Source modification: 2026-11-09T16:15:02.466ZDocument fingerprint
b4893349d125dcac092d9e2358308590d2c2d89d2e1bc56cc20d80a3920374c1 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:58:29.941ZArchived source JSON
Source publication: 2026-04-24T17:18:27.280Z
Source modification: 2026-04-24T18:33:14.697ZDocument fingerprint
4bb99387d9b3075d1d37fe7d2a517308551e9ffa5a20e927b2fcad18c54186d1 - 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