# CVE-2026-63374: AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-18T17:17:18.000Z
- Modified: 2026-10-01T17:56:11.058Z
- Also known as: GHSA-82r6-8w77-94w6, PYSEC-2026-4025
- Weaknesses: CWE-295, CWE-297
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- agronholm anyio: < 4.14.2
- anyio (PyPI): before 4.14.2

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6> (web)
- <https://github.com/agronholm/anyio/pull/1208> (web)
- <https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce> (web)
- <https://github.com/agronholm/anyio/releases/tag/4.14.2> (web)
- <https://github.com/agronholm/anyio> (package)
- <https://pypi.org/project/anyio> (package)
- <https://github.com/advisories/GHSA-82r6-8w77-94w6> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63374> (advisory)

## Sources

- CVE List: [CVE-2026-63374](https://www.cve.org/CVERecord?id=CVE-2026-63374), CVE Terms of Use, modified 2026-09-28
- GitHub Advisory Database: [GHSA-82r6-8w77-94w6](https://github.com/advisories/GHSA-82r6-8w77-94w6), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-63374](https://nvd.nist.gov/vuln/detail/CVE-2026-63374), Public domain, modified 2026-09-28
- PyPA Advisory Database: [PYSEC-2026-4025](https://osv.dev/vulnerability/PYSEC-2026-4025), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-63374 · Whole record: https://cve.day/CVE-2026-63374.json · Rebuilt by cve.day 2026-11-25T22:59:40.453Z
