CVE-2024-5642
Description
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).
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 7.3.10+dfsg-1 |
| sid | Fixed | 7.3.10+dfsg-1 |
| forky | Fixed | 7.3.10+dfsg-1 |
| bullseye | Affected | โ |
| bookworm | Fixed | 7.3.10+dfsg-1 |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | python3-tkinter-3.9.25-2.el9_7.aarch64.rpm |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
References
- https://errata.rockylinux.org/RLSA-2025:23530
- https://access.redhat.com/errata/RHSA-2025:23342
- https://www.suse.com/security/cve/CVE-2024-5642.html
- https://errata.rockylinux.org/RLSA-2025:23342
- https://security-tracker.debian.org/tracker/CVE-2024-5642
- https://bugzilla.redhat.com/2294682
- https://bugzilla.redhat.com/2373234
- https://bugzilla.redhat.com/2402342
- https://bugzilla.redhat.com/2408891
- https://errata.almalinux.org/9/ALSA-2025-23342.html
- https://access.redhat.com/errata/RHSA-2025:23530
- https://bugzilla.redhat.com/2321440
- https://bugzilla.redhat.com/2325776
- https://bugzilla.redhat.com/2343237
- https://bugzilla.redhat.com/2366509
- https://bugzilla.redhat.com/2370010
- https://bugzilla.redhat.com/2370014
- https://bugzilla.redhat.com/2370016
- https://bugzilla.redhat.com/2372426
- https://errata.almalinux.org/8/ALSA-2025-23530.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.