{"id":"CVE-2026-63374","published":"2026-09-22T15:23:14Z","modified":"2026-09-28T16:32:29Z","title":"AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing","vendor":"agronholm","product":"anyio","tier":"tail","description":{"text":"AnyIO is a high level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. Prior to 4.14.2, connect_tcp() and TLSStream.wrap() can validate internationalized host names after the standard library converts them with IDNA 2003 instead of IDNA 2008. When a connection to a non-ASCII domain is hijacked or redirected, an attacker can obtain a legitimate certificate for the different ASCII hostname produced by IDNA 2003 and present it to the client, causing the malicious endpoint's certificate to validate. This issue is fixed in version 4.14.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00319,"percentile":0.17331,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"},{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"references":[{"url":"https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/agronholm/anyio/pull/1208","tags":["x_refsource_MISC"]},{"url":"https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce","tags":["x_refsource_MISC"]},{"url":"https://github.com/agronholm/anyio/releases/tag/4.14.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":3.47},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"agronholm","affectedVersions":[{"vendor":"agronholm","product":"anyio","versions":["< 4.14.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-28T16:07:36.655203Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"anyio","vulnerableRanges":["<4.14.2"],"patched":["4.14.2"],"from":["GHSA-82r6-8w77-94w6","PYSEC-2026-4025"],"provenance":"source"}],"summary":{"text":"AnyIO's connect_tcp() and TLSStream.wrap() in the anyio Python framework (agronholm) can validate internationalized host names after the standard library has encoded them with IDNA 2003 rather than IDNA 2008, so the certificate check can apply to a different ASCII hostname than the one requested. An attacker able to hijack or redirect a connection to a non-ASCII domain could obtain a legitimate certificate for the ASCII name that IDNA 2003 produces and present it, causing their malicious endpoint's certificate to pass validation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:40Z"},"euvd":{"id":"EUVD-2026-84522","exploited":false,"provenance":"source"}}