{"cve":"CVE-2024-3651","nvd":{"published":"2024-07-07T18:15:09.827","modified":"2026-06-17T07:44:44.377","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d","https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d","https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"],"products":["kjd:internationalized_domain_names_in_applications"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-3651","score":0.01386,"percentile":0.72234,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jjg7-2v4v-x38h","url":"https://osv.dev/vulnerability/GHSA-jjg7-2v4v-x38h","summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","modified":"2026-09-10T03:50:12.774088619Z","packages":[{"ecosystem":"PyPI","name":"idna","purl":"pkg:pypi/idna","ranges":["<3.7"],"fixed":["3.7"]}]},{"id":"PYSEC-2024-60","url":"https://osv.dev/vulnerability/PYSEC-2024-60","summary":"","modified":"2026-06-10T17:01:21.102419358Z","packages":[{"ecosystem":"PyPI","name":"idna","purl":"pkg:pypi/idna","ranges":[">=0.1 <3.7"],"fixed":["3.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}