CVE-2026-128089: Uncontrolled Resource Consumption in dnspython WKS Record Parser
Vulnerability ID: CVE-2026-128089
CVSS Score: 7.5
Published: 2026-11-13
CVE-2026-128089 is an uncontrolled resource consumption vulnerability in the dnspython toolkit for Python, affecting all versions prior to 2.9.2. When parsing Well-Known Service (WKS) records from text via dns.rdtypes.IN.WKS.WKS.from_text(), the parser fails to validate that numeric service port identifiers fall within the RFC 1035 valid range of 0 through 65535. An attacker capable of supplying untrusted zone files or RDATA text strings containing an arbitrarily large service port integer can force the parser to allocate an unbounded bitmap array using an inefficient linear append loop, resulting in severe CPU exhaustion, application hangs, or Out-Of-Memory (OOM) process termination.
TL;DR
An input validation flaw in dnspython prior to 2.9.2 allows remote attackers to trigger a Denial of Service (CPU and memory exhaustion) by supplying a WKS DNS…