cve.bz

CVE-2026-128089 dnspython excessive memory and CPU use

7.5 highFix available

High (7.5) in rthalley dnspython. Fixed in dnspython 2.9.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-128089 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-128089?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-128089?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-128089 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-128089

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-128089](https://cve.bz/cve/badge/CVE-2026-128089.svg)](https://cve.bz/cve/CVE-2026-128089)

HTML:

<a href="https://cve.bz/cve/CVE-2026-128089"><img src="https://cve.bz/cve/badge/CVE-2026-128089.svg" alt="CVE-2026-128089"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rthalley dnspython< 2.9.2

Fix and patched versions

  • dnspython (PyPI): fixed in 2.9.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vvf4-9x63-8xvvPyPIdnspython<2.9.22.9.2

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON