dnspython denial of service in WKS record parser
Affects dnspython applications that parse zone-file text where an attacker can control the record type and rdata. Fixed in dnspython 2.9.2.
- Exploited
- Proof of concept public, per CISA
- Fix
- Fixed in 2.9.2
- Who is exposed
- Not reported
Summary
dnspython, a DNS toolkit for Python, has a flaw in its parser for WKS records that lets an attacker supply a zone file with an oversized service number, causing excessive memory and CPU use that can crash the process. The attack is reached remotely without logging in, but only applications that parse zone-file text whose record type and rdata an attacker controls are affected.
Written by a model
Original description
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.
Who should check
Teams using dnspython below 2.9.2 that parse zone-file text where record type and rdata can be attacker controlled
“If dnspython is used to read zonefile format where the attacker can control the type and rdata text”
What to do
Upgrade to a fixed version: 2.9.2.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-128089 (dnspython excessive memory and CPU use), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-128089 (entry last updated 2026-11-18):
Affected:
- rthalley dnspython: fixed in 2.9.2
Fixed versions: 2.9.2.
Conditions (all must be true for the bug to be hit):
- Applications parse zone-file text in which the record type and rdata can be controlled by an attacker (source: https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-128089 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-128089 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv
- https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73
- https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f
- https://github.com/rthalley/dnspython/releases/tag/v2.9.2
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-128089
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-128089"}.Affected versions
- rthalley dnspythonfixed in 2.9.2
cve.now Index
- Exploitation15/40CISA rates a proof of concept as public
- Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 73 if added to CISA KEV
- Would score about 68 if CISA's SSVC rates exploitation active
- Would score about 48 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now5 days
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Public exploit activity
- EPSS: 0.53%
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · rthalley/dnspython · Advisory GHSA-vvf4-9x63-8xvv |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-128089 |
| Record | NVD · CVE-2026-128089 |
| Other links 3 | |
| Repository | GitHub · rthalley/dnspython · Commit 388db14e |
| Repository | GitHub · rthalley/dnspython · Commit a62e1be0 |
| Repository | GitHub · rthalley/dnspython · Release v2.9.2 |
Questions about CVE-2026-128089
Is CVE-2026-128089 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When a program reads zone-file text in which an attacker controls the record type and rdata, dnspython can consume excessive memory and CPU. This can deny service or terminate the process.
Source: github.com
Which versions are affected by CVE-2026-128089?
dnspython: before 2.9.2.
Source: cve.now feed data
Am I affected, and how do I check?
The issue applies to applications that use dnspython to read zonefile format where the record type and rdata text can be controlled by an attacker. To check a installed version, run pip show dnspython; the fix is in 2.9.2, so earlier versions are in the affected range.
Source: github.com
How do I fix CVE-2026-128089?
Upgrade dnspython to version 2.9.2 or later.
Source: github.com
Related
- CVE-2026-114605dnspython dns.name.from_wire_parser() excessive CPU use
- CVE-2026-135392Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
- CVE-2026-116225Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding
- CVE-2026-135249MISP Unauthenticated Decompression Bomb via Compressed Request Bodies
- CVE-2026-116382Attacker-controlled ESI headers cause persistent atom-table growth in `inets`
- CVE-2026-135256MISP Warninglist ReDoS via Unbounded Regex Backtracking
No corrections so far. Something wrong on this page? Report an error.