{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-5642","published":"2024-06-27T21:15:16.070000Z","last_modified":"2026-07-31T15:16:26.997000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["python-software-foundation"],"products":["python-software-foundation/cpython"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01234,"percentile":0.69022,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2024-5642/","html_en":"/en/cve/CVE-2024-5642/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5642","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-5642"},"untrusted":{"vendor_name":"Python Software Foundation","product_name":"CPython","desc_en":"CPython 3.9 and earlier doesn't disallow configuring an empty list (\"[]\") for SSLContext.set_npn_protocols() which is an invalid value for the underlying OpenSSL API. This results in a buffer over-read when NPN is used (see CVE-2024-5535 for OpenSSL). This vulnerability is of low severity due to NPN being not widely used and specifying an empty list likely being uncommon in-practice (typically a protocol name would be configured).","affected":[{"untrusted_vendor":"Python Software Foundation","untrusted_product":"CPython","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/06/28/4","tags":[]},{"url":"https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e","tags":[]},{"url":"https://github.com/python/cpython/commit/a2cdbb6e8188ba9ba8b356b28d91bff60e86fe31","tags":[]},{"url":"https://github.com/python/cpython/issues/121227","tags":[]},{"url":"https://github.com/python/cpython/pull/23014","tags":[]},{"url":"https://jbp.io/2024/06/27/cve-2024-5535-openssl-memory-safety.html","tags":[]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/PLP2JI3PJY33YG6P5BZYSSNU66HASXBQ/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240726-0005/","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2025:23342","url":"https://access.redhat.com/errata/RHSA-2025:23342","published":"2025-12-19T10:09:35+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: python3.9 security update"}},{"source":"redhat","id":"RHSA-2025:23530","url":"https://access.redhat.com/errata/RHSA-2025:23530","published":"2025-12-18T10:09:31+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: python39:3.9 security update"}},{"source":"siemens","id":"SSA-202008","url":"https://cert-portal.siemens.com/productcert/html/ssa-202008.html","published":"2025-12-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0"}}]}