Impact
A specially crafted input to the idna.encode() function in the idna library can cause the routine to spend an excessive amount of time processing Unicode strings, resulting in significant resource consumption and potential denial of service. The flaw is a length-based time‑consumption issue identified as CWE-1333.
Affected Systems
The vulnerability affects the kjd:idna library for Python in all releases prior to version 3.15. Any Python application that imports and uses this library without applying the 3.15 update or additional input validation is potentially impacted.
Risk and Exploitability
With a CVSS score of 6.9, the flaw presents a moderate severity risk. No EPSS score is available, and the issue is not listed in the CISA KEV catalog. The likely attack vector involves providing a user‑controlled or externally supplied domain string containing a very high repetition of certain Unicode characters to the idna.encode() call, causing the application to consume excessive CPU resources. The vulnerability does not expose any direct code‑execution path and requires only the ability to influence the input to the library.
OpenCVE Enrichment
Github GHSA