idna · Internationalized Domain Names
Affects idnaSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium : upgrade to 3.7 when convenient.
Data as of 4 Nov 2026, 18:14 UTC
Thin evidence
One scorer or none| CNA (@huntr_ai) | CVSS 3.0 | 6.2 |
|---|
- Patch
- Available – fixed in 3.7
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade idna to 3.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIidna | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in idna version 3.7 that fixes this vulnerability by rejecting malicious inputs without excessive resource use. Users should upgrade to version 3.7 or later. As a workaround, enforcing a maximum domain name length of 253 characters before calling idna.encode() can prevent the resource exhaustion. No other actions are required.
Description
The idna library versions prior to 3.7 contain a vulnerability in the idna.encode() function where specially crafted inputs can cause excessive resource consumption, leading to a denial-of-service (DoS). This issue is addressed in version 3.7 by rejecting such inputs without consuming significant resources. Enforcing a domain name length limit of 253 characters before calling idna.encode() can mitigate the issue.
References
- github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-3651 (opens in a new tab)
- github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d (opens in a new tab)
- github.com/kjd/idna (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml (opens in a new tab)
- huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/05/msg00006.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43 (opens in a new tab)