ADVISORIES

Vulnerability

CVE-2024-5642

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

25 advisories report this vulnerability, across 12 ecosystems.

Advisories in openSUSE

  • SUSE-SU-2024:3076-1

    Security update for python39

    CVE-2024-5642CVE-2024-6923 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:3470-1

    Security update for python3

    CVE-2024-5642CVE-2024-6232CVE-2024-6923CVE-2024-7592 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14253-1

    python39-3.9.19-6.1 on GA media

    CVE-2024-5642CVE-2024-6923 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14256-1

    python38-3.8.19-7.1 on GA media

    CVE-2024-5642CVE-2024-6923 openSUSE Updated 4 February 2026

References