Excessive memory and CPU use in dnspython WKS record parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
dnspython versions before 2.9.2 do not check that the service number in a WKS record is between 0 and 65535 when parsing zone-file text with from_text(). A remote attacker who controls a zone file that an application parses can make the service bitmap grow to an extremely large size, consuming excessive memory and CPU (CWE-400, CWE-770) and possibly terminating the process. Applications are affected only when the record type and rdata they parse are attacker controlled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rthalley | dnspython | before 2.9.2 | 2.9.2 | Patch available | CNA |
| — | dnspython (PyPI) | before 2.9.2 | 2.9.2 | Patch available | GHSA-vvf4-9x63-8xvv |
- dnspython Vendorrthalley Affected before 2.9.2 Fixed in 2.9.2 Patch available CNA
- dnspython (PyPI) Vendor— Affected before 2.9.2 Fixed in 2.9.2 Patch available GHSA-vvf4-9x63-8xvv
Remediation
Upgrade dnspython to version 2.9.2, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA dnspython (rthalley) Fixed in 2.9.2
- Fix · GHSA-vvf4-9x63-8xvv dnspython (PyPI) Fixed in 2.9.2 Advisory →
Timeline
- 2026-11-13 Threatist record created from CVE-2026-128089
- 2026-11-13 Alias added: GHSA-vvf4-9x63-8xvv
- 2026-11-13 Fix available: PyPI/[email protected] · GHSA-vvf4-9x63-8xvv
- 2026-11-13 CVSS score added · GHSA-vvf4-9x63-8xvv
- 2026-11-13 Weakness changed · GHSA-vvf4-9x63-8xvv
- 2026-11-13 5 new references · GHSA-vvf4-9x63-8xvv
References
Other 5
- https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv
- https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73
- https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f
- https://github.com/rthalley/dnspython/releases/tag/v2.9.2
- https://github.com/rthalley/dnspython
More rthalley vulnerabilities
- TI-2026-79318 Uncontrolled recursion in dnspython name parsing causes high CPU use CVSS 3.1HIGH 7.5
Sources
- CVE-2026-128089 · CVE Program
- CVE-2026-128089 · NVD
- FIRST EPSS
- GHSA-vvf4-9x63-8xvv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences