Use-after-free in rust-openssl - CVE-2025-24898

 

Use-after-free in rust-openssl - CVE-2025-24898

Published: April 4, 2025


Vulnerability identifier: #VU106997
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-24898
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Steven Fackler
Affected software:
rust-openssl

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error within the ssl::select_next_proto() function. A remote attacker can trigger a use-after-free error and crash the server or read arbitrary memory contents.


How to mitigate CVE-2025-24898

Install updates from vendor's website.

Sources