Skip to main content
CVE-2024-3651VulnerabilityPublished Updated

idna · Internationalized Domain Names

Affects idnaSource GCVE Database

0
Compare
Authoritative record:CVE-2024-3651· Medium 6.2

Not known to be exploited · CVSS 6.2 Medium : upgrade to 3.7 when convenient.

Data as of 4 Nov 2026, 18:14 UTC

CVSS 3.0 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (@huntr_ai)CVSS 3.06.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIidnaAffected
  • <3.7
Fixed in
  • 3.7

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

Community reviews

Loading reviews…