Out-of-bounds readin OpenSSL.
Proof of concept public (GitHub).
Issue summary: Calling the OpenSSL API function SSL_select_next_proto with an empty supported client protocols buffer may cause a crash or memory contents to be sent to the peer. Impact summary: A buffer overread can have a range of potential consequences such as unexpected application beahviour or a crash. In particular this issue could result in up to 255 bytes of arbitrary private data from memory being sent to the peer leading to a loss of confidentiality. However, only applications that directly call the SSL_select_next_proto function with a 0 length list of supported client protocols are affected by this issue. This would normally never be a valid scenario and is typically not under attacker control but may occur by accident in the case of a configuration or programming error in the calling application. The OpenSSL API function SSL_select_next_proto is typically used by TLS applications that support ALPN (Application Layer Protocol Negotiation) or NPN (Next Protocol Negotiation).
- Upgrade OpenSSL to 1.0.2zk, 1.1.1za, 3.0.15, 3.1.7, 3.2.3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 May 2024CVE ID reserved by openssl.
- 27 Jun 2024Published in the CVE List.
- 15 Mar 2025First public proof of concept on GitHub.
- 15 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other OpenSSL vulnerabilities
Same weakness: Out-of-bounds read
- www.openssl.org vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.openssl.org patch
- github.openssl.org patch
- www.openwall.com
- www.openwall.com
- security.netapp.com
- www.openwall.com
- lists.debian.org
- lists.debian.org
- security.netapp.com
- security.netapp.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
Patchminder. CVE-2024-5535: Out-of-bounds read in OpenSSL. https://patchminder.com/cve/cve-2024-5535/ (accessed 5 December 2026).