Read the docs

Excessive memory and CPU use in dnspython WKS record parsing

Priority LOW 33CWE-400Published · Updated

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

EPSS 0.00527 45th percentileScored 2026-11-16
Fix Fixed dnspython (rthalley): 2.9.2dnspython (PyPI): 2.9.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
rthalleydnspythonbefore 2.9.22.9.2Patch availableCNA
—dnspython (PyPI)before 2.9.22.9.2Patch availableGHSA-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

  1. 2026-11-13 Threatist record created from CVE-2026-128089
  2. 2026-11-13 Alias added: GHSA-vvf4-9x63-8xvv
  3. 2026-11-13 Fix available: PyPI/[email protected] · GHSA-vvf4-9x63-8xvv
  4. 2026-11-13 CVSS score added · GHSA-vvf4-9x63-8xvv
  5. 2026-11-13 Weakness changed · GHSA-vvf4-9x63-8xvv
  6. 2026-11-13 5 new references · GHSA-vvf4-9x63-8xvv

References

  • TI-2026-79318 Uncontrolled recursion in dnspython name parsing causes high CPU use CVSS 3.1HIGH 7.5

Sources