GHSA-4fcv-w3qc-ppgg
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 package | Versions | Reported by |
|---|---|---|
| openssl (crates.io) | from 0.10.39 before 0.10.72 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-4fcv-w3qc-ppgg changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0022 changed 2025-10-28 | CC0-1.0 |