Every CVESearch/Get API key

GHSA-4fcv-w3qc-ppgg

rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

6.3 MediumFix available

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

What each source reports

GitHub Advisories Score used6.3

rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Record
GHSA-4fcv-w3qc-ppgg
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-416
Updated
2026-11-02
OSV6.3

rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Record
GHSA-4fcv-w3qc-ppgg
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-416
Updated
2026-11-02
OSVRUSTSEC-2025-0022No score

Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Record
RUSTSEC-2025-0022
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
openssl
crates.io
0.10.39 up to 0.10.72
0.10.72

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

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

In short

GHSA-4fcv-w3qc-ppgg is a medium vulnerability (CVSS 6.3) in openssl, published April 4, 2025. No source lists public exploit code. Fixed in openssl 0.10.72.

References

MoveEnter Open