kjdのinternationalized domain names in applicationsにおける非効率的な正規表現の複雑さに関する脆弱性
タイトル kjdのinternationalized domain names in applicationsにおける非効率的な正規表現の複雑さに関する脆弱性
概要

Pythonの応用国際化ドメイン名(IDNA)は国際化ドメイン名(IDNA)およびUnicode IDNA互換処理をサポートしています。バージョン3.15以前では、「\u0660」や「\u30fb」を繰り返す長いペイロードが処理される際に、長さの拒否判定の前に計算資源を大量に消費する問題がありました。この問題により、サービス拒否(DoS)が発生するリスクが存在しました。バージョン3.14以降では入力を早期に拒否し、バージョン3.15ではすべての変換関数に対して対策が拡張されました。回避策としては、ドメイン名の長さを253文字以内に制限し、ライブラリに渡す前に検証することが推奨されます。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアの一部が停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月5日0:00
登録日 2026年6月16日13:37
最終更新日 2026年6月16日13:37
CVSS3.0 : 警告
スコア 5.3
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
影響を受けるシステム
kjd
internationalized domain names in applications 3.15 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年06月16日]
  掲載
2026年6月16日13:37

NVD脆弱性情報
CVE-2026-45409
概要

Internationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\u0660" * N` or `"\u30fb" * N + "\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.

公表日 2026年6月6日8:16
登録日 2026年6月7日4:12
最終更新日 2026年6月9日0:02
関連情報、対策とツール
共通脆弱性一覧