idna vulnerabilities

Internationalized Domain Names in Applications (IDNA)

Registry
PyPI
Latest
3.20
License
BSD-3-Clause

2 known advisories

The latest version, 3.20, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'idna>=3.20'

Is your project on an affected idna?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for idna

  • MediumCVE-2026-45409GHSA-65pc-fj4g-8rjx19 May 2026

    Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix

    Affected
    <3.15
    Fixed in
    3.15
  • MediumCVE-2024-3651GHSA-jjg7-2v4v-x38h11 Apr 2024

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

    Affected
    <3.7
    Fixed in
    3.7

Is your idna version vulnerable?

Which of your client projects still run an old idna?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.