{"id":"DHI-wxnl-2h7j-2ayi-chxc","summary":"ssl.SSLContext.wrap_bio() didn't require the server_hostname argument","details":"ssl.SSLContext.wrap_bio() didn't require the server_hostname argument\nto not be None if ssl.SSLContext.check_hostname was set. Due to a\nmissing parameter check in SSLObject, if the server_hostname argument\nisn't supplied then hostname verification would be silently skipped.\n\n\nThis defect could lead to programs where certificate hostname verification\n*appeared* to be succeeding with SSLContext.check_hostname = True and no\nValueError being raised due to misconfiguration.\n\n\nIf the program passes a server_hostname value that isn't an empty string\nor None to any of these APIs then certificate hostname verification\nproceeds as expected and the program is not affected by this vulnerability.\n\n\nMitigating this vulnerability doesn't require updating Python or applying\nthe patch. To mitigate, pass a valid non-None and non-empty\nserver_hostname value to SSLContext.wrap_bio(),\nasyncio.create_connection(), or asyncio.loop.start_tls() and\ncertificate hostname verification will proceed as expected. Upgrading to\nthe latest version of Python or applying the patch only changes the\nbehavior from silently skipping hostname verification to raising a\nValueError, similar to SSLContext.wrap_socket(), when server_hostname\nisn't supplied.","modified":"2026-11-21T19:45:42.778517481Z","published":"2026-11-19T22:11:01Z","upstream":["CVE-2026-19553"],"database_specific":{"coverage":"partial","coverage_exclusions":["legacy_package_image_owner"]},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-wxnl-2h7j-2ayi-chxc"},{"type":"FIX","url":"https://github.com/python/cpython/pull/158503"},{"type":"FIX","url":"https://github.com/python/cpython/commit/f4e43ba525187282f2011da0e6ffc0d2b08d8062"},{"type":"FIX","url":"https://github.com/python/cpython/commit/bdebbf9b366ec91e9cd9daa0b3510c9e84b60b80"},{"type":"FIX","url":"https://github.com/python/cpython/commit/966bf426d0b6c31c1b0a255ff14a17143a466ced"},{"type":"FIX","url":"https://github.com/python/cpython/commit/869069d52ce0efab2f8c38197e92cdaaa312f1ed"},{"type":"FIX","url":"https://github.com/python/cpython/commit/641390146a16a38e6701923f4ee4f1940ae77082"},{"type":"FIX","url":"https://github.com/python/cpython/commit/5867d4e4ae6d1062352baf6b497a4026e8578ccf"},{"type":"FIX","url":"https://github.com/python/cpython/commit/1697ea386c707142555d98a1263176bbbc014a96"},{"type":"WEB","url":"https://github.com/python/cpython/issues/156793"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-77017.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:77017"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-77021.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:77021"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-77028.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:77028"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-85239.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:85239"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-89742.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:89742"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-19553"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-4025.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-19553"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3229.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-87910"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-82049"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-19672"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-19445"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-17084"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-15806"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-15310"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3230.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3231.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3232.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3278.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19553"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-19553"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-77017.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-77017.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-77018.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-77018.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-77020.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-77020.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-77021.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-77021.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-77028.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-77028.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-85239.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-85239.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-89742.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-89742.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-19553"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-19553"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/QNZRG3YOAMTHDCMVCICXGY6YEFPY2VDL/"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:77017"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:77018"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:77020"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:77021"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:77028"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:85239"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:89742"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-19553"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-19553"},{"type":"FIX","url":"https://github.com/python/cpython/pull/158516"}],"affected":[{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.10"},"versions":["3.10.19-r0","3.10.20-r0","3.10.20-r1","3.10.20-r10","3.10.20-r11","3.10.20-r12","3.10.20-r13","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.20-r6","3.10.20-r7","3.10.20-r8","3.10.20-r9","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.10"},"versions":["3.10.20-r0","3.10.20-r1","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.11"},"versions":["3.11.14-r0","3.11.15-r0","3.11.15-r1","3.11.15-r10","3.11.15-r11","3.11.15-r12","3.11.15-r13","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.15-r6","3.11.15-r7","3.11.15-r8","3.11.15-r9","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.11"},"versions":["3.11.15-r0","3.11.15-r1","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.12"},"versions":["3.12.12-r0","3.12.13-r0","3.12.13-r1","3.12.13-r10","3.12.13-r11","3.12.13-r12","3.12.13-r13","3.12.13-r2","3.12.13-r3","3.12.13-r4","3.12.13-r5","3.12.13-r6","3.12.13-r7","3.12.13-r8","3.12.13-r9","3.12.14-r1","3.12.14-r2","3.12.15-r0","3.12.15-r1","3.12.16-r0","3.12.16-r1","3.12.16-r2","3.12.16-r3","3.12.16-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.12"},"versions":["3.12.13-r0","3.12.13-r1","3.12.13-r2","3.12.13-r3","3.12.13-r4","3.12.13-r5","3.12.14-r1","3.12.14-r2","3.12.15-r0","3.12.15-r1","3.12.16-r0","3.12.16-r1","3.12.16-r2","3.12.16-r3","3.12.16-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.13"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.16-r0"}]}],"versions":["3.13.12-r0","3.13.12-r1","3.13.13-r1","3.13.13-r2","3.13.13-r3","3.13.13-r4","3.13.13-r5","3.13.13-r6","3.13.13-r7","3.13.13-r8","3.13.13-r9","3.13.14-r0","3.13.14-r1","3.13.14-r2","3.13.14-r3","3.13.15-r0","3.13.15-r1","3.13.15-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.13"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.16-r0"}]}],"versions":["3.13.13-r0","3.13.13-r1","3.13.14-r0","3.13.14-r1","3.13.14-r2","3.13.14-r3","3.13.15-r0","3.13.15-r1","3.13.15-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.8-r0"}]}],"versions":["3.14.3-r0","3.14.3-r1","3.14.4-r1","3.14.4-r2","3.14.4-r3","3.14.4-r4","3.14.4-r5","3.14.4-r6","3.14.4-r7","3.14.5-r7","3.14.5-r8","3.14.5-r9","3.14.6-r10","3.14.6-r11","3.14.6-r12","3.14.6-r9","3.14.7-r0","3.14.7-r1","3.14.7-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.8-r0"}]}],"versions":["3.14.5-r0","3.14.5-r1","3.14.6-r0","3.14.6-r1","3.14.6-r2","3.14.6-r3","3.14.7-r0","3.14.7-r1","3.14.7-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.15","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.15"},"versions":["3.15.0-r0","3.15.2-r0","3.15.2-r1","3.15.2-r2","3.15.2-r3","3.15.2-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python3","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python3"},"versions":["3.12.12-r0","3.12.13-r0","3.12.14-r0","3.12.15-r0","3.12.16-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python3","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python3"},"versions":["3.14.10-r0","3.14.3-r0","3.14.5-r0","3.14.5-r2","3.14.7-r0","3.14.7-r1","3.14.8-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.10"},"versions":["3.10.20-0","3.10.20-1","3.10.20-10","3.10.20-11","3.10.20-12","3.10.20-13","3.10.20-2","3.10.20-3","3.10.20-5","3.10.20-6","3.10.20-7","3.10.20-8","3.10.20-9","3.10.21-0","3.10.21-1","3.10.21-2","3.10.22-0","3.10.22-1","3.10.22-2","3.10.22-3","3.10.22-4","3.10.22-5","3.10.22-6","3.10.22-7","3.10.22-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.11"},"versions":["3.11.15-0","3.11.15-1","3.11.15-10","3.11.15-11","3.11.15-12","3.11.15-13","3.11.15-2","3.11.15-3","3.11.15-5","3.11.15-6","3.11.15-7","3.11.15-8","3.11.15-9","3.11.16-0","3.11.16-1","3.11.16-2","3.11.17-0","3.11.18-0","3.11.18-1","3.11.18-2","3.11.18-3","3.11.18-4","3.11.18-5","3.11.18-6","3.11.18-7","3.11.18-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.12"},"versions":["3.12.13-0","3.12.13-1","3.12.13-10","3.12.13-11","3.12.13-12","3.12.13-13","3.12.13-2","3.12.13-3","3.12.13-5","3.12.13-6","3.12.13-7","3.12.13-8","3.12.13-9","3.12.14-0","3.12.14-1","3.12.14-2","3.12.15-0","3.12.16-0","3.12.16-1","3.12.16-2","3.12.16-3","3.12.16-4","3.12.16-5","3.12.16-6","3.12.16-7","3.12.16-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.13"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.16-0"}]}],"versions":["3.13.13-0","3.13.13-1","3.13.13-2","3.13.13-3","3.13.13-5","3.13.13-6","3.13.13-7","3.13.13-8","3.13.14-0","3.13.14-1","3.13.14-2","3.13.14-3","3.13.14-4","3.13.15-0","3.13.15-1","3.13.15-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.8-0"}]}],"versions":["3.14.5-0","3.14.5-1","3.14.5-2","3.14.5-3","3.14.5-5","3.14.6-0","3.14.6-1","3.14.6-2","3.14.6-3","3.14.6-4","3.14.6-5","3.14.6-6","3.14.7-0","3.14.7-1","3.14.7-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-wxnl-2h7j-2ayi-chxc.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}