CVE-2024-3651Denial of Service via Quadratic Complexity in kjd/idna
- 6.2MediumCVSS base score
- 1.4%Exploitation in 30 daysEPSS · top 27% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By @huntr_ai
- 3 months later
· 3 months later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntr_aiCNA (assigner) | 3.0 | Medium6.2 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References7
- https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb (opens in a new tab)x_transferred
- https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0077 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jjg7-2v4v-x38h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-3651)Record last updated .