dnspython dns.name.from_wire_parser() excessive CPU use
The advisory, in context
Impact
A maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression. Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.
Patches
This problem is fixed in dnspython 2.9.0.
Workarounds
There are no known workarounds.
Credit
Evgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece Constantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece George Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 2.9.0
Fixed in 2.9.0
50 explicitly affected versions
1.0.0, 1.1.0, 1.10.0, 1.11.0, 1.11.1, 1.12.0, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.0, 1.5.0, 1.6.0, 1.7.1, 1.8.0, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 2.0.0, 2.0.0rc1, 2.0.0rc2, 2.1.0, 2.1.0rc1, 2.2.0, 2.2.0rc1, 2.2.1, 2.3.0, 2.3.0rc1, 2.4.0, 2.4.0rc1, 2.4.1, 2.4.2, 2.5.0, 2.5.0rc1, 2.6.0, 2.6.0rc1, 2.6.1, 2.7.0, 2.7.0rc1, 2.8.0, 2.8.0rc1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0",
"1.1.0",
"1.10.0",
"1.11.0",
"1.11.1",
"1.12.0",
"1.13.0",
"1.14.0",
"1.15.0",
"1.16.0",
"1.2.0",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.4.0",
"1.5.0",
"1.6.0",
"1.7.1",
"1.8.0",
"1.9.0",
"1.9.1",
"1.9.2",
"1.9.3",
"1.9.4",
"2.0.0",
"2.0.0rc1",
"2.0.0rc2",
"2.1.0",
"2.1.0rc1",
"2.2.0",
"2.2.0rc1",
"2.2.1",
"2.3.0",
"2.3.0rc1",
"2.4.0",
"2.4.0rc1",
"2.4.1",
"2.4.2",
"2.5.0",
"2.5.0rc1",
"2.6.0",
"2.6.0rc1",
"2.6.1",
"2.7.0",
"2.7.0rc1",
"2.8.0",
"2.8.0rc1"
]
}References
- https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m
- https://nvd.nist.gov/vuln/detail/CVE-2026-114605
- https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023
- https://github.com/rthalley/dnspython
- https://github.com/rthalley/dnspython/releases/tag/v2.9.0