Is idna 2.1 vulnerable?
PyPI · 1 release from 2.1.0 to 2.1.0 · latest idna is 3.20 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. idna 2.1.0, the last 2.1 release, is affected by 2 known security advisories (2 medium), including CVE-2026-45409, CVE-2024-3651. Upgrade to 3.15 or later to fix all of them.
pip install 'idna>=3.15'Is your project on an affected idna?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting idna 2.1.0
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
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
Which of your client projects are still on idna 2.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact idna version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other idna versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.