Advisory record · GHSA-jjg7-2v4v-x38h

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

CVSS 6.2 MediumEPSS 0.014 · 72nd percentile

Published by the GitHub Advisory Database at 11 Apr 2024, 21:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
idnaPyPI<3.73.7
Identifiers
GHSA-jjg7-2v4v-x38h · CVE-2024-3651 · PYSEC-2024-60
Weakness (CWE)
CWE-400 · CWE-1333
Published
11 Apr 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the idna package before 3.7 are vulnerable to a denial of service: a specially crafted argument passed to idna.encode() can consume significant resources. The source does not describe what access an attacker needs, beyond the ability to pass input to the function. Upgrade to idna 3.7, which rejects such strings without the excess resource use. Until then, enforce the 253-character domain name length limit before calling idna.encode().

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.2 Medium 3.0 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.