Description
dnspython is a DNS toolkit for Python. Prior to 2.9.0, dns.name.from_wire_parser follows attacker-controlled DNS compression pointer chains without a hop limit. A malicious DNS wire-format message can force excessive pointer traversal during name decompression, causing high CPU use, application degradation, or denial of service in applications that process untrusted DNS messages. This issue is fixed in version 2.9.0.
Published: 2026-10-22
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A flaw in the dns.name.from_wire_parser function of the dnspython library causes it to follow attacker‑controlled DNS compression pointers without any limit on the number of hops. When a malicious DNS wire-format message contains a long pointer chain, the parser traverses these pointers repeatedly, consuming excessive CPU resources. The result is application slowdown, degradation of service, or a full denial of service. This vulnerability is categorized as CWE‑674 (Unchecked Loop Condition). It also represents a missing input validation flaw (CWE‑606).

Affected Systems

The affected product is rthalley:dnspython, versions prior to 2.9.0. Any Python application that imports dnspython and parses DNS messages from external or untrusted sources may be impacted. Applications that rely on dnspython for DNS resolution, filtering, or monitoring are at risk unless they upgrade to 2.9.0 or later.

Risk and Exploitability

The CVSS score of 7.5 indicates a high likelihood of serious disruption. The EPSS score is not available, but the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is the receipt of a crafted DNS packet over the network; the attacker need not authenticate, only send a DNS message that triggers excessive pointer dereferencing. With sufficient network bandwidth and a vulnerable instance, the attacker can exhaust CPU resources and cause a denial of service. The flaw also falls under CWE‑606, highlighting missing input validation.

Generated by OpenCVE AI on October 23, 2026 at 03:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade dnspython to version 2.9.0 or later.
  • Disable or restrict processing of DNS messages from untrusted or external sources in applications that use dnspython.
  • Apply additional input validation or size limits on DNS packets before they are passed to dnspython to prevent excessive pointer traversal.

Generated by OpenCVE AI on October 23, 2026 at 03:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4892-1 dnspython security update
Github GHSA Github GHSA GHSA-45c3-73f7-pv4m dnspython dns.name.from_wire_parser() excessive CPU use
History

Thu, 12 Nov 2026 06:30:00 +0000

Type Values Removed Values Added
References

Thu, 29 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Rthalley
Rthalley dnspython
Weaknesses CWE-606
Vendors & Products Rthalley
Rthalley dnspython
References
Metrics threat_severity

None

threat_severity

Important


Thu, 22 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Description dnspython is a DNS toolkit for Python. Prior to 2.9.0, dns.name.from_wire_parser follows attacker-controlled DNS compression pointer chains without a hop limit. A malicious DNS wire-format message can force excessive pointer traversal during name decompression, causing high CPU use, application degradation, or denial of service in applications that process untrusted DNS messages. This issue is fixed in version 2.9.0.
Title dnspython dns.name.from_wire_parser() excessive CPU use
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Rthalley Dnspython
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-12T05:04:58.972Z

Reserved: 2026-10-21T20:34:25.599Z

Link: CVE-2026-114605

cve-icon Vulnrichment

Updated: 2026-10-29T02:18:57.478Z

cve-icon NVD

Status : Deferred

Published: 2026-10-22T17:16:58.237

Modified: 2026-11-12T06:17:11.230

Link: CVE-2026-114605

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-22T16:25:32Z

Links: CVE-2026-114605 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T03:30:15Z

Weaknesses
  • CWE-606

    Unchecked Input for Loop Condition

  • CWE-674

    Uncontrolled Recursion