Skip to content
OpenAdvisories
Medium GHSA-4fcv-w3qc-ppgg RUSTSEC-2025-0022

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

Published Apr 4, 2025 · Updated Sep 10, 2026 · Assigned by GHSA

Description

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](https://github.com/quitbug/) for reporting this vulnerability to us.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl >= 0.10.39, < 0.10.72 0.10.72 GHSA-4fcv-w3qc-ppgg

References