A vulnerability was found in Python/CPython that does not disallow configuring an empty list (“[]”) for SSLContext.set_npn_protocols(), which is an invalid value for the underlying OpenSSL API. This issue results in a buffer over-read when NPN is used. See CVE -2024-5535 for OpenSSL for more information.