GHSA-4fcv-w3qc-ppgg
JSON

medium

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

Severity
medium CVSS:4.0 by GitHub
Published
Last changed
Also known as
RUSTSEC-2025-0022

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 for reporting this vulnerability to us.

Affected

Product or packageVersionsReported by
openssl (crates.io)from 0.10.39 before 0.10.72GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-4fcv-w3qc-ppgg changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0022 changed 2025-10-28CC0-1.0