Rthalley dnspython
dnspython excessive memory and CPU use
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.9.2
Fixed in 2.9.2
Mitigation
Upgrade dnspython to 2.9.2 or later.
References
- Vendor advisory github.com/rthalley/dnspython/security/advisor…
- Patch github.com/rthalley/dnspython/commit/388db14ee…
- Patch github.com/rthalley/dnspython/commit/a62e1be06…
1 more
- Release notes github.com/rthalley/dnspython/releases/tag/v2.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| wu0010802-stack/ivy-website-admin | 21 Sep 2026 −53 d | 0 | Pending · repository exceeds size limit
Flags · score 5
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.