CVE-2024-5535
A public proof of concept exists; no exploitation attested.
- Published2024-06-27
- Fixed in3.3.2 · 3.2.3 · 3.1.7 · 3.0.15 · 1.1.1za · 1.0.2zk
- WeaknessCWE-125
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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). NPN is older, was never standardised and is deprecated in favour of ALPN. We believe that ALPN is significantly more widely deployed than NPN. The SSL_select_next_proto function accepts a list of protocols from the server and a list of protocols from the client and returns the first protocol that appears in the server list that also appears in the client list. In the case of no overlap between the two lists it returns the first item in the client list. In either case it will signal whether an overlap between the two lists was found. In the case where SSL_select_next_proto is called with a zero length client list it fails to notice this condition and returns the memory immediately following the client list pointer (and reports that there was no overlap in the lists). This function is typically called from a server side application callback for ALPN or a client side application callback for NPN. In the case of ALPN the list of protocols supplied by the client is guaranteed by libssl to never be zero in length. The list of server protocols comes from the application and should never normally be expected to be of zero length. In this case if the SSL_select_next_proto function has been called as expected (with the list supplied by the client passed in the client/client_len parameters), then the application will not be vulnerable to this issue. If the application has accidentally been configured with a zero length server list, and has accidentally passed that zero length server list in the client/client_len parameters, and has additionally failed to correctly handle a "no overlap" response (which would normally result in a handshake failure in ALPN) then it will be vulnerable to this problem. In the case of NPN, the protocol permits the client to opportunistically select a protocol when there is no overlap. OpenSSL returns the first client protocol in the no overlap case in support of this. The list of client protocols comes from the application and should never normally be expected to be of zero length. However if the SSL_select_next_proto function is accidentally called with a client_len of 0 then an invalid memory pointer will be returned instead. If the application uses this output as the opportunistic protocol then the loss of confidentiality will occur. This issue has been assessed as Low severity because applications are most likely to be vulnerable if they are using NPN instead of ALPN - but NPN is not widely used. It also requires an application configuration or programming error. Finally, this issue would not typically be under attacker control making active exploitation unlikely. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. Due to the low severity of this issue we are not issuing new releases of OpenSSL at this time. The fix will be included in the next releases when they become available.
Timeline
dates in UTC- 2024-06-2711:15CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-5535?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-5535?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.3 | ≥ 3.3.0, < 3.3.2 | 3.3.2 | CISA-ADP |
| 3.2 | ≥ 3.2.0, < 3.2.3 | 3.2.3 | CISA-ADP |
| 3.1 | ≥ 3.1.0, < 3.1.7 | 3.1.7 | CISA-ADP |
| 3.0 | ≥ 3.0.0, < 3.0.15 | 3.0.15 | CISA-ADP |
| 1.1 | ≥ 1.1.1, < 1.1.1za | 1.1.1za | CISA-ADP |
| 1.0 | ≥ 1.0.2, < 1.0.2zk | 1.0.2zk | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- mecabAlmaLinux:8all versions · fixed in 0.996-2.module_el8.10.0+3965+b415b607and 1 other package
- mecabAlmaLinux:8all versions · fixed in 0.996-2.module_el8.6.0+3340+d764b636and 1 other package
- mecab-ipadicAlmaLinux:8all versions · fixed in 2.7.0.20070801-17.module_el8.10.0+3965+b415b607and 1 other package
- mingw32-opensslAlmaLinux:8all versions · fixed in 1.0.2k-4.el8_10and 1 other package
- mysqlAlmaLinux:9all versions · fixed in 8.0.41-2.el9_5and 6 other packages
- mysqlAlmaLinux:8all versions · fixed in 8.0.41-1.module_el8.10.0+3965+b415b607and 6 other packages
- opensslAlmaLinux:9all versions · fixed in 1:3.2.2-6.el9_5and 3 other packages
- opensslAlmaLinux:8all versions · fixed in 1:1.1.1k-14.el8_6and 3 other packages
Vendor advisories
Red Hat Security Advisory: openssl security update
Fix
- Update OpenSSL to 3.3.2 · 3.2.3 · 3.1.7 · 3.0.15 · 1.1.1za · 1.0.2zk
- Vendor fix Red Hat Product Security RHSA-2026:58563 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2026:58563 · 44 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Detection
read 2026-10-23 19:24 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-11-08
- OpenCVESSVC decisionnone—
- CISA-ADPCVSS 3.19.12024-06-27
- CNAweakness (CWE)CWE-125read 2026-10-23
- FIRST EPSSEPSS score5.6 %2026-10-23
- PoC-in-GitHubproof of concept1read 2026-10-23
- OSVaffected packages—
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Published
- 2024-06-27
- Last Modified
- 2026-10-15
- NVD status
- Deferred
Frequently asked questions
What is CVE-2024-5535?
Is CVE-2024-5535 actively exploited?
What is the CVSS score for CVE-2024-5535?
Running OpenSSL? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.