PyPI package

idna 3.0.0 vulnerabilities, and the version that fixes all of them

idna 3.0.0 has 2 known vulnerabilities; 3.15 fixes all of them.

PyPI (opens in a new tab) describes it as “Internationalized Domain Names in Applications (IDNA)”

Known vulnerabilities
2
None rated high or critical
Released
Jan 1, 2021
Latest is 3.20
Licence
BSD-3-Clause
OpenSSF Scorecard
8.5/10
kjd/idna (opens in a new tab)
Dependencies
None
Resolved by deps.dev

What to upgrade to

3.15 is the closest release with no known vulnerabilities.

  • 3.15Upgrade to this

    Fixes all 2 known vulnerabilities.

    No known vulnerabilities
  • 3.20.0

    Newest 3.x release. Released Sep 17, 2026.

    No known vulnerabilities
  • 3.20

    Latest release.

    No known vulnerabilities

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for idna 3.0.0

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2024-3651 on OSV.dev (opens in a new tab)GHSA-jjg7-2v4v-x38hEPSS: top 29%

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

    Fixed in 3.7. Published Apr 11, 2024.

  2. WarningCVE-2026-45409 on OSV.dev (opens in a new tab)GHSA-65pc-fj4g-8rjxEPSS: top 62%

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

    Fixed in 3.15. Published May 19, 2026.

Is idna the only one?

Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly idna 3.0.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against PyPI, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.