{"id":"RUSTSEC-2025-0022","revision":"541fa6f1a7d8456a8aefb628616c0133","records":[{"revision":"541fa6f1a7d8456a8aefb628616c0133","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2025-0022","aliases":["GHSA-4fcv-w3qc-ppgg"],"title":"Use-After-Free in `Md::fetch` and `Cipher::fetch`","description":"When a `Some(...)` value was passed to the `properties` argument of either of these functions, a use-after-free would result.\n\nIn practice this would nearly always result in OpenSSL treating the properties as an empty string (due to `CString::drop`'s behavior).\n\nThe maintainers thank [quitbug](https://github.com/quitbug/) for reporting this vulnerability to us.","state":0,"publishedAt":"2025-04-04T12:00:00+00:00","modifiedAt":"2025-10-28T06:29:22.917994+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.39"},{"kind":"fixed","version":"0.10.72"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/openssl","https://rustsec.org/advisories/RUSTSEC-2025-0022.html","https://github.com/sfackler/rust-openssl/pull/2390"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2025-0022","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2025-0022","identifiers":["RUSTSEC-2025-0022","GHSA-4fcv-w3qc-ppgg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}