Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply attacker-controlled zone-file text to app
-
DeliveryCraft WKS record with out-of-range service number
-
Exploitfrom_text() parser extends service bitmap inefficiently
-
ExecutionExcessive memory/CPU consumption exhausts resources
-
ImpactProcess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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- 21,185 pypi packages depend on dnspython (1,365 direct, 19,930 indirect)
Ecosystem-wide dependent count for version 2.9.2.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-125726
GHSA-vvf4-9x63-8xvv
NVD
CVE.org
EPSS
VulDB
Exploit-DB