Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
6388 articles · 242939 vulns · 37/41 feeds (7d)
← Back to list
—
CVE-2026-19553PATCHED
python software foundation · cpython

SSLContext.wrap_bio() missing validation of server_hostname parameter

Description

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.

Affected Products

VendorProductVersions
python software foundationcpython0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.15.0a1

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
open sourcepythoncert_advisory90%

References

  • https://github.com/python/cpython/pull/158503(patch)
  • https://github.com/python/cpython/issues/156793(issue-tracking)
  • https://mail.python.org/archives/list/security-announce@python.org/thread/QNZRG3YOAMTHDCMVCICXGY6YEFPY2VDL/(vendor-advisory)
  • https://github.com/python/cpython/commit/1697ea386c707142555d98a1263176bbbc014a96(patch)
  • https://github.com/python/cpython/commit/641390146a16a38e6701923f4ee4f1940ae77082(patch)
  • https://github.com/python/cpython/commit/966bf426d0b6c31c1b0a255ff14a17143a466ced(patch)
  • https://github.com/python/cpython/commit/f4e43ba525187282f2011da0e6ffc0d2b08d8062(patch)
  • https://github.com/python/cpython/commit/869069d52ce0efab2f8c38197e92cdaaa312f1ed(patch)
  • https://github.com/python/cpython/commit/5867d4e4ae6d1062352baf6b497a4026e8578ccf(patch)
  • https://github.com/python/cpython/commit/bdebbf9b366ec91e9cd9daa0b3510c9e84b60b80(patch)

Related News (4 articles)

Tier B
BSI Advisories18d ago
[NEU] [hoch] CPython: Mehrere Schwachstellen
→ No new info (linked only)
Tier B
CERT-FR19d ago
Multiples vulnérabilités dans CPython (01 octobre 2026)
→ No new info (linked only)
Tier C
oss-security20d ago
CPython [CVE-2026-19553] SSLContext.wrap_bio() missing validation of server_hostname parameter
→ No new info (linked only)
Tier C
VulDB20d ago
CVE-2026-19553 | Python Software Foundation up to 3.15.x SSLObject ssl.SSLContext.wrap_bio server_hostname input validation
→ No new info (linked only)

Discussion (0)

Loading…

CISA KEV❌ No
Actively exploited❌ No
Patch available
3.16.0
CWECWE-297
PublishedSep 30, 2026
Trending Score6
Source articles4
Independent4
Info Completeness0/14
Missing: cve_id, title, description, vendor, product, versions, cvss, epss, cwe, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALPRE-CVE
Certifi emSign Root Certificate Compromise
Trending: 30
NONECVE-2026-15806
`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching
Trending: 6
NONECVE-2026-19672
tarfile extraction filter bypass allows creation of directories outside the destination
Trending: 5
NONECVE-2026-17084
stringprep.map_table_b2() deviates from RFC 3454 Table B.2
Trending: 5
NONECVE-2026-87910
tarfile hardlink fallback ignores custom extraction filter rejection via None
Trending: 5

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Sep 30, 2026
Discovered by ZDM
Sep 30, 2026
Patch Available
Oct 16, 2026