dnspython、細工されたゾーンファイルで過大なメモリとCPUを消費される脆弱性
Summary
dnspythonのテキスト解析処理で、WKSレコードのサービス番号の範囲チェックが不足しています。細工されたゾーンファイルを読み込むと、メモリとCPUを過剰に消費し、プロセスが停止するおそれがあります。影響するのは2.9.2より前のバージョンで、2.9.2に修正版が公開されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
dnspythonのテキスト解析処理で、WKSレコードのサービス番号の範囲チェックが不足しています。細工されたゾーンファイルを読み込むと、メモリとCPUを過剰に消費し、プロセスが停止するおそれがあります。影響するのは2.9.2より前のバージョンで、2.9.2に修正版が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| rthalleydnspython | — | Not listed |
| pipdnspython |
< 2.9.2→ 2.9.2 |
2.9.2 |
| PyPIdnspython |
< 2.9.2→ 2.9.2 |
2.9.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128089 dnspython No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128089 dnspython No fixed version in this record
Original description The description as published by the source.
dnspython is a DNS toolkit for Python. Prior to version 2.9.2, the from_text() parser for WKS records does not require the service number to be between 0 and 65535 before using it as a bitmap offset. An attacker-controlled zone file can supply a larger number, causing the service bitmap to grow to an extremely large size through inefficient repeated extension, consuming excessive memory and CPU and potentially terminating the process. Applications are affected only when they parse zone-file text whose record type and rdata are attacker controlled. This issue is fixed in version 2.9.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com