Allocation of Resources Without Limits or Throttling Affecting dnspython package, versions [,2.9.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.53% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DNSPYTHON-22549580
  • published14 Nov 2026
  • disclosed13 Nov 2026
  • creditmanus-use

Introduced: 13 Nov 2026

NewCVE-2026-128089  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade dnspython to version 2.9.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the from_text() parser in dns/rdtypes/IN/WKS.py, which does not validate that a WKS record service number falls between 0 and 65535 inclusive. An attacker who controls the rdata text of a zone file can supply an out-of-range service number, causing the parser to resize the bitmap to accommodate a bit at that offset, resulting in extremely large memory allocations and inefficient CPU use that can exhaust process memory.

PoC

This demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.

rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp 65536")

CVSS Base Scores

version 4.0
version 3.1