ADVISORIES

Vulnerability

CVE-2024-3651

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.

194 advisories report this vulnerability, across 15 ecosystems.

Advisories in PyPI

  • GHSA-jjg7-2v4v-x38h

    Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode

    Moderate CVE-2024-3651 PyPI Updated 10 September 2026
  • PYSEC-2024-60

    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…

    CVE-2024-3651 PyPI Updated 10 June 2026

References