{"id":"GHSA-4fcv-w3qc-ppgg","revision":"c641061eebab4942aebd5e35573c64f7","records":[{"revision":"c641061eebab4942aebd5e35573c64f7","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-4fcv-w3qc-ppgg","aliases":["RUSTSEC-2025-0022"],"title":"rust-openssl 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-04T20:31:08+00:00","modifiedAt":"2026-09-10T03:50:56.9389328+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":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sfackler/rust-openssl/pull/2390","https://github.com/sfackler/rust-openssl/commit/87085bd67896b7f92e6de35d081f607a334beae4","https://github.com/sfackler/rust-openssl","https://rustsec.org/advisories/RUSTSEC-2025-0022.html"],"sourceUrl":"https://github.com/advisories/GHSA-4fcv-w3qc-ppgg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4fcv-w3qc-ppgg","identifiers":["GHSA-4fcv-w3qc-ppgg","RUSTSEC-2025-0022"]},"retained":false,"historicalAffected":[]}],"coverage":[]}