IntelligenceFindingsNMN-2026-0123
rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1
CandidateMachine- or researcher-generated; not independently verified.
In short
What to know.
- Package
- openssl crates.ioopenssl: from 0.9.27 before 0.10.78
- What to do
- Upgrade openssl to 0.10.78 or later.
- Severity
- HighRated by the source advisory.
- Confidence
- HighThe affected range comes from the advisory; no system that uses the component has been assessed.
Verification
Where it stands.
- Candidate
- In review
- Reproduced
- Confirmed
- Resolved
- Disputed
- Withdrawn
7 listed
Sources
- OSV record GHSA-pqf5-4pqq-29f5osv.devRetrieved 3 December 2026
- web reference for GHSA-pqf5-4pqq-29f5github.comRetrieved 3 December 2026
- advisory reference for GHSA-pqf5-4pqq-29f5nvd.nist.govRetrieved 3 December 2026
- web reference for GHSA-pqf5-4pqq-29f5github.comRetrieved 3 December 2026
- web reference for GHSA-pqf5-4pqq-29f5github.comRetrieved 3 December 2026
- package reference for GHSA-pqf5-4pqq-29f5github.comRetrieved 3 December 2026
- web reference for GHSA-pqf5-4pqq-29f5github.comRetrieved 3 December 2026
Full record
- Finding
- NMN-2026-0123
- Category
- vulnerability
- Component
- openssl (crates.io)openssl: from 0.9.27 before 0.10.78
- Severity
- High. Rated by the source advisory.Severity as labelled by the source advisory GHSA-pqf5-4pqq-29f5. CVSS as given: 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. Noumen has not assessed it.
- Confidence
- High.The affected range comes from the advisory; no system that uses the component has been assessed.
- State
- Candidate. Machine- or researcher-generated; not independently verified.
- Disclosure
- Public
- Mitigation
- Upgrade openssl to 0.10.78 or later.
- Discovery method
- imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
- Reproduction
- No reproduction steps recorded.
- Related advisories
- GHSA-pqf5-4pqq-29f5CVE-2026-41676RUSTSEC-2026-0473
- Affected systems
- None listed. A link to a system needs its own evidence.
- Attribution
- Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
- Assigned reviewer
- Nobody yet
- Dates
- Created 3 December 2026, 16:50 UTCUpdated 3 December 2026, 16:50 UTC
Summary, as published by the source advisory
`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.
1 event, oldest first
History
History verified: 1 eventLatest hash110f5067548b110f5067548b6761b863bc5225230d7e93a69d3c491785237e141f1c49067e57
Record createdMachine-generated
By advisory-monitor@1.0.0 (agent, machine-generated)
Reason: Imported from public advisory GHSA-pqf5-4pqq-29f5.
Entered the record in the state Candidate.
Event 1 hash110f5067548b110f5067548b6761b863bc5225230d7e93a69d3c491785237e141f1c49067e57
About this record
Severity and confidence are rated separately, each with its own reason.
History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.
Corrections keep the value before and after.