HIGH · CVSS 3.1 7.5 EPSS 0.6% · 45th percentile CWE-400CWE-770

CVE-2026-128089: dnspython has excessive memory and CPU use

Published 2026-11-13 · Updated 2026-11-13 · Also known as GHSA-vvf4-9x63-8xvv

Summary

A vulnerability in dnspython allows a maliciously crafted zone file using a WKS record to cause excessive memory and CPU consumption. Engineering and security teams using dnspython should update their dependencies immediately.

Who is affected

Affected deployments include applications using dnspython to parse untrusted zone files where an attacker controls the type and rdata text. The flaw can lead to denial of service by causing the process to exit due to memory exhaustion.

Exploitability

The vulnerability is network-accessible with low attack complexity and requires no privileges or user interaction, resulting in a CVSS base score of 7.5. The EPSS score is 0.005 with a percentile of 0.453, and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
PyPI dnspython >= 0, < 2.9.2 2.9.2 python -m pip install 'dnspython>=2.9.2'

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

FAQ

What causes the excessive memory and CPU consumption?

The from_text() parser fails to validate that a WKS record service number is between 0 and 65535, leading to extremely large memory allocations and inefficient array extensions.

Which software package is affected?

The PyPI package dnspython is affected in versions introduced from 0 and fixed in 2.9.2.

Is this vulnerability actively exploited in the wild?

No, CISA Known Exploited Vulnerabilities status is no.

Original advisory description
### Summary A maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion. ### Details The `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive. It then uses this number to resize the bitmap to accommodate a bit with that offset. This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU. ### Proof of concept 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") ``` ### Impact If dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.

References

Source records: GHSA-vvf4-9x63-8xvv (OSV.dev) · EPSS by FIRST, 2026-11-26.