Skip to main content

dnspython EUVDEUVD-2026-125726

| CVE-2026-128089 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-13 GitHub_M GHSA-vvf4-9x63-8xvv
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply attacker-controlled zone-file text to app
  2. Delivery
    Craft WKS record with out-of-range service number
  3. Exploit
    from_text() parser extends service bitmap inefficiently
  4. Execution
    Excessive memory/CPU consumption exhausts resources
  5. Impact
    Process terminates, denying service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application feed dnspython (prior to 2.9.2) zone-file TEXT via the from_text() parser where the attacker controls both the record type and the rdata, and supplies a WKS record whose service number exceeds the valid 0-65535 range (e.g. 'udp 65536'); the oversized number is then used as a bitmap offset, triggering the inefficient extension. The key LIMITING factor is this text-parsing precondition: applications that only process DNS wire-format data, or that never expose text zone-file ingestion to untrusted input, are not affected. No authentication or user interaction is required by the parser itself (PR:N/UI:N), and default behavior is vulnerable once attacker-controlled zone text reaches from_text(). Impact is confined to denial of service (process memory/CPU exhaustion); there is no confidentiality or integrity effect.

Impact

This is a genuine but conditionally-scoped availability issue, not a high-CVSS inflation. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) correctly reflects a pure denial-of-service: no confidentiality or integrity impact, only availability via memory/CPU exhaustion (CWE-400/CWE-770). The network vector and 'no privileges/no interaction' metrics look severe in isolation, but they must be read against the description's hard precondition: the application must parse zone-file TEXT in which both the record type and rdata are attacker-controlled. Most DNS resolution paths consume wire-format responses rather than attacker-authored text zone files, so the realistic attack surface is narrower than AV:N alone implies. No EPSS score was provided, so exploitation probability cannot be quantified; the vulnerability is NOT on the CISA KEV list and there is no indication of active exploitation. The GitHub Security Advisory includes a proof-of-concept, but the advisory explicitly notes the PoC uses a value that does NOT cause excessive memory or CPU consumption - so it demonstrates the missing bounds check rather than a weaponized resource-exhaustion exploit. The vuln.today priority label is 'this_week', consistent with a patch-promptly DoS rather than an emergency. Net: real and worth patching within a normal cycle for anyone parsing untrusted zone text, but low real-world risk for the majority of deployments that never expose text zone parsing to attacker input.

Exploit ScenarioDerived

An application uses dnspython to parse zone-file text from an untrusted source (for example a multi-tenant DNS/hosting service that accepts customer-supplied zone files, or a tool that ingests externally-controlled zone data). The attacker submits a WKS record such as 'IN WKS 10.0.0.1 udp 65536' with a service number far above the valid 0-65535 range, and the from_text() parser repeatedly extends the service bitmap to accommodate that offset, consuming excessive memory and CPU until the process is killed. A non-harmful public PoC reference exists in the GitHub advisory, but it is not verified as working resource-exhaustion exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Denial of service in dnspython releases prior to 2.9.2: the WKS record from_text() parser uses an attacker-supplied service number as a bitmap offset without first checking that it falls within 0-65535, so a single crafted record such as 'udp 65536' drives repeated, byte-by-byte bitmap growth that can exhaust memory and CPU and terminate the process. The flaw is reachable by unauthenticated remote attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) only when an application feeds zone-file text into from_text() with attacker-controlled record type and rdata; applications that parse only wire-format DNS data, or that never ingest untrusted text zones, are outside the affected path. A public PoC reference exists (the advisory's one-line from_text() snippet, which demonstrates the missing bound without producing the resource blow-up); it is not verified as working exploit code, and no active exploitation has been confirmed. Fixed in 2.9.2.

RemediationAI

Upgrade to dnspython 2.9.2, the vendor-released fix (PyPI package dnspython 2.9.2), which adds the 0-65535 service-number check, caps the WKS bitmap at 8192 bytes in the constructor, and replaces the per-byte bitmap extension with a bulk extend; the release notes and advisory are at https://github.com/rthalley/dnspython/releases/tag/v2.9.2 and https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv, with the code changes in commits 388db14ee9923288f6e73f86e482c77706e59d73 and a62e1be066da0ed71b5b59f37435bb17cfa0070f. If upgrading cannot be done immediately, the actionable compensating control is architectural: ensure from_text() is never fed attacker-controlled WKS record type and rdata - reject untrusted text zone files before parsing, or restrict WKS imports to trusted sources - noting this removes the feature rather than fixing it, so any remaining untrusted-zone ingestion path stays exposed. As a secondary containment measure, run zone-file parsing in a worker with a hard memory/CPU ceiling so an oversized bitmap kills the worker instead of the main process; this reduces blast radius but does not prevent the allocation attempt itself and adds operational overhead and false-positive restarts.

Affected VersionsENISA

dnspython < 2.9.2

Affected Packages

pypi dnspython fix: 2.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WKS (Well-Known Services) is an RFC 1035 record type whose rdata carries an IPv4 address, a protocol number, and a bitmap in which each set bit represents a service port; because the bitmap is indexed by service number, the format implicitly bounds that number to 0-65535 (an 8192-byte bitmap). dnspython's textual parser (dns/rdtypes/IN/WKS.py::from_text) parsed the service field and then grew the bitmap to cover the requested bit offset, appending zero bytes one at a time in a Python loop - so an out-of-range value produced both an unbounded allocation and quadratic-style extension work. This is CWE-400 uncontrolled resource consumption (the upstream advisory also tags CWE-770, allocation without limits/ throttling). The vendor fix enforces three separate limits: the service number must be between 0 and 65535 inclusive, the WKS constructor rejects bitmaps longer than 8192 bytes, and the padding loop is replaced with a single bytes extend. The trigger is purely textual record parsing - no DNS resolution or wire-format decoding is involved, and the crash mode is process termination via memory exhaustion rather than memory corruption.

Know when Dnspython gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Pure DoS via resource exhaustion with no auth/interaction when attacker-controlled zone text reaches the parser, so PR:N/UI:N/AC:L and C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 20:49 EUVD
CVE Published
Nov 13, 2026 - 19:22 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 21,185 pypi packages depend on dnspython (1,365 direct, 19,930 indirect)

Ecosystem-wide dependent count for version 2.9.2.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption), with the advisory also tagging CWE-770 (Allocation of Resources Without Limits or Throttling).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A denial-of-service vulnerability in the dnspython library (versions before 2.9.2) can be triggered by parsing a single maliciously crafted DNS zone file, causing memory and CPU exhaustion that crashes the process. Any application, internal or customer-facing, that relies on dnspython to ingest untrusted zone-file text is exposed, potentially leading to service outages and operational disruption.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restricting or disabling parsing of untrusted zone-file text, implementing strict input validation to reject service numbers outside 0-65535, and monitoring for abnormal memory/CPU usage. Apply vendor patch when available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
dnspython is a very widely used Python DNS library across many projects
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy