Every CVESearch/Get API key

GHSA-q445-7m23-qrmw

openssl's `MemBio::get_buf` has undefined behavior with empty buffers

6.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
Low

What each source reports

GitHub Advisories Score used6.9

openssl's `MemBio::get_buf` has undefined behavior with empty buffers

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.

Record
GHSA-q445-7m23-qrmw
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-476
Updated
2026-11-02
OSV6.9

openssl's `MemBio::get_buf` has undefined behavior with empty buffers

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.

Record
GHSA-q445-7m23-qrmw
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-476
Updated
2026-11-02
OSVRUSTSEC-2024-0357No score

`MemBio::get_buf` has undefined behavior with empty buffers

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.

Record
RUSTSEC-2024-0357
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
openssl
crates.io
before 0.10.66
0.10.66
openssl
crates.io
0.0.0-0 up to 0.10.66
0.10.66

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-q445-7m23-qrmw is a medium vulnerability (CVSS 6.9) in openssl, published July 21, 2024. No source lists public exploit code. Fixed in openssl 0.10.66.

References

MoveEnter Open