cve.bz

CVE-2024-5535 Out-of-bounds Read

9.1 criticalEPSS 6.1%Fix available

Critical (9.1). EPSS 6.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
6.1% (unchanged from 5.6% a week ago; 5.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-5535 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5535?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5535?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5535 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2024-5535

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-5535](https://cve.bz/cve/badge/CVE-2024-5535.svg)](https://cve.bz/cve/CVE-2024-5535)

HTML:

<a href="https://cve.bz/cve/CVE-2024-5535"><img src="https://cve.bz/cve/badge/CVE-2024-5535.svg" alt="CVE-2024-5535"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.3.0 before 3.3.2
OpenSSLfrom 3.2.0 before 3.2.3
OpenSSLfrom 3.1.0 before 3.1.7
OpenSSLfrom 3.0.0 before 3.0.15
OpenSSLfrom 1.1.1 before 1.1.1za
OpenSSLfrom 1.0.2 before 1.0.2zk

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openssl1.1.1n-0+deb11u6DLA-3942-1
Debian11openssl1.1.1w-0+deb11u2DLA-3942-2
Debian12openssl3.0.15-1~deb12u1DEBIAN-CVE-2024-5535
Debian13, 14openssl3.3.2-1DEBIAN-CVE-2024-5535
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.23UBUNTU-CVE-2024-5535 USN-6937-1
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2024-5535 USN-7894-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.17UBUNTU-CVE-2024-5535 USN-6937-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2024-5535 USN-7894-1
Ubuntu24.04:LTSopenssl3.0.13-0ubuntu3.2UBUNTU-CVE-2024-5535 USN-6937-1
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm16UBUNTU-CVE-2024-5535 USN-8678-2
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm18UBUNTU-CVE-2024-5535 USN-8678-2
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2024-5535
UbuntuPro:18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.23+esm10UBUNTU-CVE-2024-5535 USN-8678-2
UbuntuPro:18.04:LTSopenssl1.01.0.2n-1ubuntu5.13+esm6UBUNTU-CVE-2024-5535 USN-8678-2
UbuntuPro:20.04:LTSopenssl1.1.1f-1ubuntu2.24+esm5USN-8678-2
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2024-5535
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreammecab, mecab-devel, mecab-debuginfo and 1 more0:0.996-2.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:8::appstreammecab-ipadic, mecab-ipadic-EUCJP0:2.7.0.20070801-17.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:8::appstreammysql, mysql-libs, mysql-test and 10 more0:8.0.41-1.module+el8.10.0+22857+7f331eddRHSA-2025:1673
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1k-14.el8_6RHSA-2024:7848
Red Hatenterprise_linux:8::crbmingw-openssl, mingw32-openssl, mingw64-openssl and 2 more0:1.0.2k-4.el8_10RHSA-2026:60329
Red Hatenterprise_linux:9::appstreammysql, mysql-common, mysql-errmsg and 7 more0:8.0.41-2.el9_5RHSA-2025:1671
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.2.2-6.el9_5RHSA-2024:9333
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.2.2-6.el9_5RHSA-2024:9333
Red Hatenterprise_linux:9::crbmysql-libs, mysql-test, mysql-devel and 6 more0:8.0.41-2.el9_5RHSA-2025:1671
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.62-5.el7jbcsRHSA-2025:3452
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:2.0.29-3.el7jbcsRHSA-2025:3452
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.62-5.el7jbcsRHSA-2025:3452
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moreopenssl-1_11.1.1d-150200.11.94.1SUSE-SU-2024:2909-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moreopenssl-1_0_01.0.2p-150000.3.94.1SUSE-SU-2024:3119-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-1_11.1.1l-150400.7.72.1SUSE-SU-2024:2927-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-33.0.8-150400.4.60.1SUSE-SU-2024:2931-1
SUSELinux Enterprise Live Patching 15 SP6openssl-3-livepatches0.1-150600.13.3.1SUSE-SU-2024:2761-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5openssl-1_11.1.1l-150500.17.34.1SUSE-SU-2024:2891-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.39.1SUSE-SU-2024:3019-1
SUSELinux Enterprise Module for Basesystem 15 SP6openssl-33.1.4-150600.5.10.1SUSE-SU-2024:2635-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Legacy 15 SP6openssl-1_11.1.1w-150600.5.6.1SUSE-SU-2024:2933-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl11.0.1g-0.58.82.1SUSE-SU-2024:2991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5openssl-1_0_01.0.2p-3.95.1SUSE-SU-2024:2989-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5openssl-1_11.1.1d-2.110.2SUSE-SU-2024:2953-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5openssl-33.0.8-150500.5.39.1SUSE-SU-2024:3019-1
openSUSELeap 15.5, Leap 15.6openssl-1_0_01.0.2p-150000.3.94.1SUSE-SU-2024:3119-1
openSUSELeap 15.5, Leap Micro 5.5openssl-1_11.1.1l-150500.17.34.1SUSE-SU-2024:2891-1
openSUSELeap 15.6openssl-1_11.1.1w-150600.5.6.1SUSE-SU-2024:2933-1
openSUSELeap 15.6openssl-33.1.4-150600.5.10.1SUSE-SU-2024:2635-1
openSUSETumbleweedopenssl-1_11.1.1w-11.1openSUSE-SU-2024:14219-1
openSUSETumbleweedopenssl-33.1.4-11.1openSUSE-SU-2024:14220-1
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux8mecab, mecab-devel0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux8mecab-ipadic, mecab-ipadic-EUCJP2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux8mingw32-openssl, mingw64-openssl1.0.2k-4.el8_10ALSA-2026:60329
AlmaLinux8mysql, mysql-libs, mysql-test and 4 more8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux8openssl, openssl-libs, openssl-perl and 1 more1:1.1.1k-14.el8_6ALSA-2024:7848
AlmaLinux9mysql, mysql-libs, mysql-test and 4 more8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.2.2-6.el9_5ALSA-2024:9333
Rocky Linux8mecab0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:1673
Rocky Linux8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:1673
Rocky Linux8mingw-openssl0:1.0.2k-4.el8_10RLSA-2026:60329
Rocky Linux8mysql0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1RLSA-2025:1673
Rocky Linux8openssl1:1.1.1k-14.el8_10RLSA-2024:7848
Rocky Linux9mysql0:8.0.41-2.el9_5RLSA-2025:1671
Rocky Linux9openssl1:3.2.2-6.el9_5.1RLSA-2024:9333
Rocky Linux9openssl-fips-provider0:3.0.7-6.el9_5RLSA-2024:9333
Alpinev3.17openssl3.0.14-r0ALPINE-CVE-2024-5535
Alpinev3.18, v3.19openssl3.1.6-r0ALPINE-CVE-2024-5535
Alpinev3.20, v3.21, v3.22 and 2 moreopenssl3.3.1-r1ALPINE-CVE-2024-5535
Azure Linux2cloud-hypervisor-cvm38.0.72.2-3AZL-42988
Azure Linux2hvloader1.0.1-6AZL-47733
Azure Linux2openssl1.1.1k-33AZL-43309
Azure Linux3openssl3.3.0-2AZL-42975
Azure Linux3openssl-fips-providerno fix listedAZL-78567
Alpaquita23openssl3.0.14-r1BELL-CVE-2024-5535
Alpaquitastreamopenssl3.3.1-r2BELL-CVE-2024-5535
BellSoft Hardened Containers23openssl3.0.14-r1BELL-CVE-2024-5535
BellSoft Hardened Containersstreamopenssl3.3.1-r2BELL-CVE-2024-5535

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The FIPS modules in versions 3.3, 3.2, 3.1, and 3.0 are not affected by this issue.

The packages shim and shim-unsigned-x64 are not impacted by this CVE, as the affected OpenSSL code path is not utilized.

Red Hat's mitigation

Mitigation 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.

ProductPackageStateAdvisory
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1k-19.el7jbcsFixed 2025-04-02RHSA-2025:3452
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONopenssl-0:1.0.1e-61.el6_10.1Fixed 2026-09-11RHSA-2026:66524
Red Hat Enterprise Linux 7 Extended Lifecycle Supportopenssl-1:1.0.2k-26.el7_9.2Fixed 2026-08-24RHSA-2026:58563
Red Hat Enterprise Linux 8mysql:8.0-8100020250212154709.489197e6Fixed 2025-02-19RHSA-2025:1673
Red Hat Enterprise Linux 8mingw-openssl-0:1.0.2k-4.el8_10Fixed 2026-08-26RHSA-2026:60329
Red Hat Enterprise Linux 8openssl-1:1.1.1k-14.el8_6Fixed 2024-10-09RHSA-2024:7848
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportopenssl-1:1.1.1k-14.el8_6Fixed 2024-10-09RHSA-2024:7846
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceopenssl-1:1.1.1k-14.el8_6Fixed 2024-10-09RHSA-2024:7846
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsopenssl-1:1.1.1k-14.el8_6Fixed 2024-10-09RHSA-2024:7846
Red Hat Enterprise Linux 8.8 Extended Update Supportopenssl-1:1.1.1k-14.el8_6Fixed 2024-10-09RHSA-2024:7847
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/backend-rhel8Fix deferred
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10mysql8.4Not affected
Red Hat Enterprise Linux 10opensslNot affected
Red Hat Enterprise Linux 10shimNot affected
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 7ovmfAffected
Red Hat Enterprise Linux 8compat-openssl10Affected
Red Hat Enterprise Linux 8edk2Affected
81 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5535.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-226-15Siemens SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 familynone listed
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

History

  1. Analyzed by the NVD

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON