GHSA-4fcv-w3qc-ppgg rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`
A use-after-free vulnerability in rust-openssl allows attackers to potentially execute arbitrary code or cause denial of service when specific properties are passed.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-4fcv-w3qc-ppgg?
GHSA-4fcv-w3qc-ppgg is an use after free vulnerability in openssl, published on 4 Apr 2025.
Official 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.
Which versions are affected by GHSA-4fcv-w3qc-ppgg?
3 open source packages ship an affected version, including openssl.
| Package | Affected | Fixed in |
|---|---|---|
openssl crates.io | From 0.10.39 | 0.10.72 |
openssl crates.io | From 0.10.39 | 0.10.72 |
openssl crates.io | From 0.10.39 | 0.10.72 |
How do I fix GHSA-4fcv-w3qc-ppgg?
Upgrade openssl to 0.10.72 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is GHSA-4fcv-w3qc-ppgg being exploited?
There is no known exploitation of GHSA-4fcv-w3qc-ppgg in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2025-0022.