cve.bz

CVE-2026-19553 python software foundation cpython

7.6 highEPSS 0.5%

High (7.6) in python software foundation cpython. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.

Severity

CVSS 4.0

7.6 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-297 Improper Validation of Certificate with Host Mismatch
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
Assigned by
PSF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19553 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19553?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19553?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19553 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • python software foundation:cpython

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.22
Python Software Foundation CPythonfrom 3.11.0 before 3.11.17
Python Software Foundation CPythonfrom 3.12.0 before 3.12.15
Python Software Foundation CPythonfrom 3.13.0 before 3.13.16
Python Software Foundation CPythonfrom 3.14.0 before 3.14.8
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pypy3no fix listedDEBIAN-CVE-2026-19553
Debian12python3.113.11.2-6+deb12u9DEBIAN-CVE-2026-19553
Debian13pypy3, python3.13no fix listedDEBIAN-CVE-2026-19553
Debian14pypy38.0.1+dfsg-1DEBIAN-CVE-2026-19553
Debian14python3.143.14.8-1DEBIAN-CVE-2026-19553
Debian14python3.153.15.0~rc3-1DEBIAN-CVE-2026-19553
Ubuntu22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-19553
Ubuntu24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-19553
Ubuntu26.04:LTS, 26.10python3.14no fix listedUBUNTU-CVE-2026-19553
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2026-19553
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2026-19553
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2026-19553
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2026-19553
UbuntuPro:22.04:LTSpython2.7, python3.11no fix listedUBUNTU-CVE-2026-19553
Red Hatenterprise_linux:8::appstreampython3-idle, python3-test, platform-python and 5 more0:3.6.8-79.el8_10RHSA-2026:85239
Red Hatenterprise_linux:8::appstreampython3.12, python3.12-libs, python3.12-devel and 4 more0:3.12.15-2.el8_10RHSA-2026:77028
Red Hatenterprise_linux:8::baseospython3, python3-libs, python3-test and 3 more0:3.6.8-79.el8_10RHSA-2026:85239
Red Hatenterprise_linux:8::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.15-2.el8_10RHSA-2026:77028
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-7.el9_8.6RHSA-2026:89742
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.15-1.el9_8RHSA-2026:77017
Red Hatenterprise_linux:9::appstreampython3.14, python3.14-libs, python3.14-devel and 3 more0:3.14.8-1.el9_8RHSA-2026:77021
Red Hatenterprise_linux:9::baseospython3, python3.9, python3-libs and 2 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::baseospython3, python3.9, python3-libs and 2 more0:3.9.25-7.el9_8.6RHSA-2026:89742
Red Hatenterprise_linux:9::crbpython3, python3-idle, python3-test and 4 more0:3.9.25-14.el9_9RHSA-2026:98511
Red Hatenterprise_linux:9::crbpython3, python3-idle, python3-test and 4 more0:3.9.25-7.el9_8.6RHSA-2026:89742
13 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepython311, python311-core, python311-documentation3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.22-150400.4.129.1SUSE-SU-2026:4630-1
SUSELinux Enterprise Module for Basesystem 15 SP7python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise Module for Python 3 15 SP7python313, python313-core3.13.16-150700.4.61.1SUSE-SU-2026:4941-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python311, python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python312, python312-core3.12.15-150600.3.71.1SUSE-SU-2026:4659-1
SUSELinux Micro 6.0python311, python311-core3.11.17-159998.1.1SUSE-SU-2026:24325-1
SUSELinux Micro 6.1python311, python311-core3.11.17-slfo.1.1_1.1SUSE-SU-2026:24280-1
openSUSETumbleweedpython3103.10.22-1.1openSUSE-SU-2026:12087-1
openSUSETumbleweedpython3113.11.17-1.1openSUSE-SU-2026:12121-1
openSUSETumbleweedpython3123.12.15-1.1openSUSE-SU-2026:12122-1
openSUSETumbleweedpython3133.13.16-1.1openSUSE-SU-2026:12123-1
openSUSETumbleweedpython3143.14.8-1.1openSUSE-SU-2026:12124-1
openSUSETumbleweedpython3153.15.0~rc3-1.1openSUSE-SU-2026:12069-1
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-79.el8_10.alma.1ALSA-2026:85239
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.15-2.el8_10ALSA-2026:77028
AlmaLinux9python3, python3-idle, python3-libs and 5 more3.9.25-7.el9_8.6ALSA-2026:89742
AlmaLinux9python3.12, python3.12-idle, python3.12-libs and 4 more3.12.15-1.el9_8ALSA-2026:77017
AlmaLinux9python3.14, python3.14-idle, python3.14-libs and 11 more3.14.8-1.el9_8ALSA-2026:77021
AlmaLinux10python-unversioned-command3.12.15-1.el10_2ALSA-2026:77020
AlmaLinux10python3, python3-idle, python3-libs and 5 more3.12.16-2.el10_3ALSA-2026:98615
AlmaLinux10python3.14, python3.14-idle, python3.14-libs and 11 more3.14.8-1.el10_2ALSA-2026:77018
Rocky Linux8python30:3.6.8-79.el8_10.rocky.0RLSA-2026:85239
Rocky Linux8python3.120:3.12.15-2.el8_10RLSA-2026:77028
Rocky Linux9python3.120:3.12.15-1.el9_8RLSA-2026:77017
Rocky Linux9python3.140:3.14.8-1.el9_8RLSA-2026:77021
Rocky Linux9python3.90:3.9.25-7.el9_8.6RLSA-2026:89742
Rocky Linux10python3.120:3.12.15-1.el10_2RLSA-2026:77020
Rocky Linux10python3.140:3.14.8-1.el10_2RLSA-2026:77018
Alpinev3.21, v3.22, v3.23python33.12.15-r0ALPINE-CVE-2026-19553
Alpinev3.24python33.14.8-r0ALPINE-CVE-2026-19553
Azure Linux3python3no fix listedAZL-105687
Azure Linux3tensorflowno fix listedAZL-105918
Alpaquita23python33.11.17-r0BELL-CVE-2026-19553
Alpaquita25python33.12.15-r0BELL-CVE-2026-19553
Alpaquitastreampython33.14.8-r3BELL-CVE-2026-19553
BellSoft Hardened Containers23python33.11.17-r0BELL-CVE-2026-19553
BellSoft Hardened Containers25python33.12.15-r0BELL-CVE-2026-19553
BellSoft Hardened Containersstreampython33.14.8-r3BELL-CVE-2026-19553

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue is rated Important because a man-in-the-middle attacker can cause Python clients using SSLContext.wrap_bio() (or asyncio TLS helpers that call it) to skip certificate hostname verification when check_hostname is enabled but server_hostname is omitted or empty, compromising confidentiality and integrity of the TLS session (C:H/I:H). It is not Critical: exploitation requires an on-path attacker and that specific API misuse (AC:H).

Red Hat's mitigation

Restrict Python TLS clients to trusted networks so an on-path attacker cannot intercept sessions. Applications that use SSLContext.wrap_bio(), asyncio.create_connection(), or loop.start_tls() with check_hostname enabled must pass a non-empty server_hostname; hostname verification then proceeds and this flaw is not reachable. Optionally pin expected server certificates so a mismatched host certificate is rejected even if hostname checking is skipped.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.14-0:3.14.8-1.el10_2Fixed 2026-10-08RHSA-2026:77018
Red Hat Enterprise Linux 10python3.12-0:3.12.15-1.el10_2Fixed 2026-10-08RHSA-2026:77020
Red Hat Enterprise Linux 8python3.12-0:3.12.15-2.el8_10Fixed 2026-10-07RHSA-2026:77028
Red Hat Enterprise Linux 8python3-0:3.6.8-79.el8_10Fixed 2026-10-19RHSA-2026:85239
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython3-0:3.6.8-39.el8_4.13Fixed 2026-11-04RHSA-2026:95082
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython3-0:3.6.8-39.el8_4.13Fixed 2026-11-04RHSA-2026:95082
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpython3-0:3.6.8-47.el8_6.16Fixed 2026-11-03RHSA-2026:94443
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onpython3-0:3.6.8-47.el8_6.16Fixed 2026-11-03RHSA-2026:94443
Red Hat Enterprise Linux 9python3.12-0:3.12.15-1.el9_8Fixed 2026-10-08RHSA-2026:77017
Red Hat Enterprise Linux 9python3.14-0:3.14.8-1.el9_8Fixed 2026-10-08RHSA-2026:77021
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python3Affected
Red Hat Enterprise Linux 8python3.11Out of support scope
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Enterprise Linux 9python3.11Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Affected
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19553.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • monkeyyey/acw3-tls-lab Harbor Check: matches CVE 0 stars, created
    Local CVE-2026-19553 TLS lab with a guarded Ubuntu 24.04 setup and seven demonstration tests.
  • Tharsh2003/INF2005-ACW3-PythonSSL Harbor Check: matches CVE 0 stars, created
    INF2005 ACW3 - CVE-2026-19553 Exploitation
  • abraxas/cve-2026-19553-wrap-bio Harbor Check: matches CVE 0 stars, Python, created
    CPython - High - wrap_bio hostname skip

References

Check your stackJSON