CVE Explorer
CVE-2026-41676
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 provi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-131","description":"CWE-131: Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"rust-openssl","vendor":"rust-openssl","versions":[{"status":"affected","version":">= 0.9.27, < 0.10.78"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-131","description":"CWE-131: Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-pqf5-4pqq-29f5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-pqf5-4pqq-29f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d25c612fbf6853304e62283a462c1310bf513d7a2017ce29e834ece46a0f13e7 · sha256:de2a84005cb18f06… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.