Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-63374 EUVD-2026-84522GHSA-82r6-8w77-94w6PYSEC-2026-4025

AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing

Published Sep 22, 2026 · Updated Sep 28, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
agronholm anyio < 4.14.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-anyio 4.15.1-1 —
Debian 13 python-anyio No fix yet —
Debian 12 python-anyio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-anyio No fix yet —
Ubuntu 26.04 LTS python-anyio No fix yet —
Ubuntu 24.04 LTS python-anyio No fix yet —
Ubuntu 22.04 LTS python-anyio No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES 15 SP5 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES 15 SP4 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES 3 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-anyio 4.8.0-160000.3.1 SUSE-SU-2026:24208-1
SLES for SAP 15 SP6 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES for SAP 15 SP5 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES for SAP 15 SP4 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLES 16.0 python-anyio 4.8.0-160000.3.1 SUSE-SU-2026:24208-1
SLE Micro 6.2 python-anyio 4.8.0-160000.3.1 SUSE-SU-2026:24122-1
SLE HPC 15 SP5 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
SLE HPC 15 SP4 python-anyio 4.1.0-150400.9.11.1 SUSE-SU-2026:4416-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed graphifyy 0.9.97-1.1 openSUSE-SU-2026:12324-1
openSUSE Leap 16.0 python-anyio 4.8.0-160000.3.1 openSUSE-SU-2026:22060-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kserve-storage-controller 0.20.0-r9 —
Wolfi rolling open-webui 0.11.3-r7 —
Wolfi rolling py3.14-anyio 4.15.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI anyio < 4.14.2 4.14.2 GHSA-82r6-8w77-94w6

Advisories 6

References