Skip to content
OpenAdvisories
High · 7.5 CVE-2026-128089 EUVD-2026-125726GHSA-vvf4-9x63-8xvv

dnspython has excessive memory and CPU use

Published Nov 13, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
rthalley dnspython < 2.9.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dnspython < 2.9.2 2.9.2 GHSA-vvf4-9x63-8xvv

References