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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade python3.14-freethreading-libsUpgrade python3.12-libsUpgrade python3.12-debugUpgrade python3.14-debugUpgrade python3.14-libsUpgrade python3.14-freethreading-develUpgrade python3.14-freethreadingUpgrade python3.12-develUpgrade python3.14-tkinterUpgrade python3.14-idleUpgrade python3.14-testUpgrade python3.12-rpm-macrosUpgrade python3.14-freethreading-testUpgrade python3.12-idleUpgrade python3.12Upgrade python3.12-testUpgrade python3.14-freethreading-tkinterUpgrade python3.14-freethreading-debugUpgrade python3.14-develUpgrade python3.12-tkinterUpgrade python3.14-freethreading-idleUpgrade python3.14 | Oct 11, 2026 | Oct 6, 2026 |
| Alpine Linux | — | Upgrade python3 | Oct 2, 2026 | Sep 30, 2026 |
| Debian | — | Upgrade python3.11 | Oct 12, 2026 | Sep 30, 2026 |
| Redhat_linux | — | Upgrade python3.14-freethreading-debugUpgrade python3.14-develUpgrade python3.12-idleUpgrade python3.12-testUpgrade python3.14-tkinterUpgrade python3.14-debugUpgrade python3-testUpgrade python3.14-freethreading-tkinterUpgrade python3-debugUpgrade python3.14-freethreading-idleNo solution existsUpgrade python3.12-rpm-macrosUpgrade python3.12-debuginfoUpgrade python3.14-freethreading-libsUpgrade python3.14-freethreading-develUpgrade python3.12-debugUpgrade python3.14Upgrade python3.14-libsUpgrade python3.12-tkinterUpgrade python3.14-freethreadingUpgrade python3-develUpgrade python3-idleUpgrade python3Upgrade python3.14-debugsourceUpgrade python3-tkinterUpgrade python3.14-testUpgrade python3.14-debuginfoUpgrade python3.12-libsUpgrade python-unversioned-commandUpgrade python3.12-debugsourceUpgrade python3.12Upgrade python3.14-freethreading-testUpgrade python3-libsUpgrade python3.14-idleUpgrade python3.12-devel | Oct 5, 2026 | Sep 30, 2026 |
| Rocky_linux | — | Upgrade python3.12Upgrade python3-testUpgrade python3.12-testUpgrade python3.14-freethreading-testUpgrade python3.14-freethreading-debugUpgrade python3.12-idleUpgrade python3.14-freethreading-tkinterUpgrade python3.14-libsUpgrade python3.14-develUpgrade python3.14Upgrade python3.14-debugsourceUpgrade python3Upgrade python3.14-debuginfoUpgrade python3.12-tkinterUpgrade python3.12-debuginfoUpgrade python3.14-idleUpgrade python3-develUpgrade python3.12-develUpgrade python3-idleUpgrade python3-debugUpgrade python3.12-libsUpgrade python3.12-debugUpgrade python3.14-tkinterUpgrade python3-libsUpgrade python3.14-freethreading-develUpgrade python3.14-freethreadingUpgrade python3-tkinterUpgrade python3.14-freethreading-idleUpgrade python3.14-testUpgrade python3.12-debugsourceUpgrade python3.14-debugUpgrade python3.14-freethreading-libs | Oct 15, 2026 | Oct 8, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub