CVE-2025-24898
Last modified
CVE-2025-24898 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions `ssl::select_next_proto` can return a slice pointing into the `server` argument's buffer but with a lifetime bound to the `client` argument. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
Description
rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions `ssl::select_next_proto` can return a slice pointing into the `server` argument's buffer but with a lifetime bound to the `client` argument. In situations where the `sever` buffer's lifetime is shorter than the `client` buffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client. The crate`openssl` version 0.10.70 fixes the signature of `ssl::select_next_proto` to properly constrain the output buffer's lifetime to that of both input buffers. Users are advised to upgrade. In standard usage of `ssl::select_next_proto` in the callback passed to `SslContextBuilder::set_alpn_select_callback`, code is only affected if the `server` buffer is constructed *within* the callback.
Metrics
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-24898?
How severe is CVE-2025-24898?
How do I fix CVE-2025-24898?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-24892OpenProject is open-source, web-based project management sof…5.4
- CVE-2025-24893XWiki Platform is a generic wiki platform offering runtime s…9.8
- CVE-2025-24894SPID.AspNetCore.Authentication is an AspNetCore Remote Authe…9.1
- CVE-2025-24895CIE.AspNetCore.Authentication is an AspNetCore Remote Authen…9.1
- CVE-2025-24896Misskey is an open source, federated social media platform. …8.1
- CVE-2025-24897Misskey is an open source, federated social media platform. …8.2
- CVE-2025-24899reNgine is an automated reconnaissance framework for web app…7.5
- CVE-2025-2490A vulnerability was found in Dromara ujcms 9.7.5. It has bee…5.4
- CVE-2025-24900Concorde, formerly know as Nexkey, is a fork of the federate…8.6
- CVE-2025-24901WeGIA is a Web Manager for Charitable Institutions. A SQL In…8.8
- CVE-2025-24902WeGIA is a Web Manager for Charitable Institutions. A SQL In…8.8
- CVE-2025-24903libsignal-service-rs is a Rust version of the libsignal-serv…8.5
Are you affected by CVE-2025-24898?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
