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).
                
            Metrics
Affected Vendors & Products
References
        History
                    Tue, 07 Oct 2025 16:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | 
Wed, 06 Nov 2024 21:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | cvssV3_1 
 | ssvc 
 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: PSF
Published: 2024-06-27T21:05:31.281Z
Updated: 2025-10-09T18:36:41.965Z
Reserved: 2024-06-04T18:40:21.539Z
Link: CVE-2024-5642
 Vulnrichment
                        Vulnrichment
                    Updated: 2024-08-01T21:18:06.642Z
 NVD
                        NVD
                    Status : Awaiting Analysis
Published: 2024-06-27T21:15:16.070
Modified: 2025-10-07T17:15:32.573
Link: CVE-2024-5642
 Redhat
                        Redhat