Skip to content

chore(deps): update dependency dnspython to v2.9.2 [security] - #167

Merged
arpad-csepi merged 1 commit into
mainfrom
renovate/pypi-dnspython-vulnerability
Nov 23, 2026
Merged

arpad-csepi merged 1 commit into
mainfrom
renovate/pypi-dnspython-vulnerability

Conversation

@agntcy-automation

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dnspython 2.8.0 → 2.9.2 age confidence

dnspython dns.name.from_wire_parser() excessive CPU use

CVE-2026-114605 / GHSA-45c3-73f7-pv4m

More information

Details

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

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


dnspython has excessive memory and CPU use

CVE-2026-128089 / GHSA-vvf4-9x63-8xvv

More information

Details

Summary

A maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.

Details

The from_text() parser does not check that a WKS record service number is between 0 and 65535 inclusive. It then uses this number to resize the bitmap to accommodate a bit with that offset. This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.

Proof of concept

This demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.

rd = dns.rdata.from_text("IN", "WKS", "10.0.0.1 udp 65536")
Impact

If dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

rthalley/dnspython (dnspython)

v2.9.2: dnspython 2.9.2

Compare Source

A malicious WKS record in text format can consume excessive memory and CPU when parsed, possibly causing the process to exit due to memory exhaustion. Thanks to Jace (GitHub @​manus-use) for discovering and reporting this issue.

See What's New for details.

The minimum supported version of Python is 3.11.

My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.

This release was published to PyPI using Trusted Publishing.

v2.9.1: dnspython 2.9.1

Compare Source

See What's New for details.

The minimum supported version of Python is 3.11.

My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.

This release was published to PyPI using Trusted Publishing.

v2.9.0: dnspython 2.9.0

Compare Source

This release fixes a potential excessive CPU consumption issue. Thanks to Evgenios Gkritsis, Constantinos Patsakis, and George Stergiopoulos, for discovering and reporting this issue.

See What's New for details.

The minimum supported version of Python is 3.11.

My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.

This release was published to PyPI using Trusted Publishing.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@arpad-csepi
arpad-csepi force-pushed the renovate/pypi-dnspython-vulnerability branch from 0346bdf to 08574ed Compare November 23, 2026 12:27
@arpad-csepi
arpad-csepi merged commit b3c8ce3 into main Nov 23, 2026
16 checks passed
@arpad-csepi
arpad-csepi deleted the renovate/pypi-dnspython-vulnerability branch November 23, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants