Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. openssl
  4. ›
  5. GHSA-4fcv-w3qc-ppgg

GHSA-4fcv-w3qc-ppgg: rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

April 4, 2025 (updated October 31, 2025)

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.

References

  • github.com/advisories/GHSA-4fcv-w3qc-ppgg
  • github.com/sfackler/rust-openssl
  • github.com/sfackler/rust-openssl/commit/87085bd67896b7f92e6de35d081f607a334beae4
  • github.com/sfackler/rust-openssl/pull/2390
  • rustsec.org/advisories/RUSTSEC-2025-0022.html

Code Behaviors & Features

Detect and mitigate GHSA-4fcv-w3qc-ppgg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.10.39 before 0.10.72

Fixed versions

  • 0.10.72

Solution

Upgrade to version 0.10.72 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/openssl/GHSA-4fcv-w3qc-ppgg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:41 +0000.