CVE-2024-3651: Python idna · A vulnerability was identified in the kjd/idna library, specifically within the
Affects python-idnaSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium · fixed in 2.0-3ubuntu0.1~esm1 : update python-idna when convenient.
Data as of 24 Nov 2026, 21:14 UTC
Thin evidence
One scorer or none| CNA (@huntr_ai) | CVSS 3.0 | 6.2 |
|---|
- EPSS
- 1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0-3ubuntu0.1~esm1, 8.1.1-2ubuntu0.6+esm8, 2.6-1ubuntu0.1~esm1 +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 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpython-idnapkg:deb/ubuntu/python-idna?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-idnapkg:deb/ubuntu/python-idna?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpython-idnapkg:deb/ubuntu/python-idna?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython-pippkg:deb/ubuntu/python-pip?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A vulnerability was identified in the kjd/idna library, specifically within the `idna.encode()` function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the `idna.encode()` function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.
References
- ubuntu.com/security/CVE-2024-3651 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-3651 (opens in a new tab)
- github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h (opens in a new tab)
- ubuntu.com/security/notices/USN-6780-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7762-1 (opens in a new tab)