IntelligenceAdvisoriesAdvisory
GHSA-q445-7m23-qrmw
openssl's `MemBio::get_buf` has undefined behavior with empty buffers
In short
What to know.
- Package
- openssl crates.iobefore 0.10.66
- What to do
- Upgrade openssl to 0.10.66 or later.
- Source's rating
- ModerateNoumen has not assessed it.
- Noumen finding
- NMN-2026-0124Candidate. Severity moderate, confidence high.
3 December 2026
Source
- OSV record GHSA-q445-7m23-qrmwosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-q445-7m23-qrmw
- Aliases
- RUSTSEC-2024-0357
- Severity
- Moderate, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Fixed versions
- 0.10.66
- Published
- 22 July 2024
- Modified
- 10 September 2026
- Source
- OSV record GHSA-q445-7m23-qrmw, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| openssl crates.io | before 0.10.66 | 0.10.66 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
Previously, `MemBio::get_buf` called `slice::from_raw_parts` with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.