MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-5642WID-SEC-W-2025-2648:CVE-2024-5642

Buffer overread when using an empty list with SSLContext.set_npn_protocols()

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)