Skip to content

Update dependency dnspython to ~=2.9.2 [SECURITY] - autoclosed - #452

Closed
renovate[bot] wants to merge 1 commit into
devfrom
renovate/pypi-dnspython-vulnerability
Closed

renovate[bot] wants to merge 1 commit into
devfrom
renovate/pypi-dnspython-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Nov 3, 2026 •

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 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 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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency dnspython to ~=2.9.1 [SECURITY] Update dependency dnspython to ~=2.9.2 [SECURITY] Nov 4, 2026
@renovate
renovate Bot force-pushed the renovate/pypi-dnspython-vulnerability branch from 5bc4116 to 9d96029 Compare November 4, 2026 02:40
@renovate renovate Bot changed the title Update dependency dnspython to ~=2.9.2 [SECURITY] Update dependency dnspython to ~=2.9.2 [SECURITY] - autoclosed Nov 7, 2026
@renovate renovate Bot closed this Nov 7, 2026
@renovate
renovate Bot deleted the renovate/pypi-dnspython-vulnerability branch November 7, 2026 22:01
@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in PyFunceble Backlog Nov 7, 2026
@renovate renovate Bot changed the title Update dependency dnspython to ~=2.9.2 [SECURITY] - autoclosed Update dependency dnspython to ~=2.9.2 [SECURITY] Nov 14, 2026
@renovate renovate Bot reopened this Nov 14, 2026
@renovate
renovate Bot force-pushed the renovate/pypi-dnspython-vulnerability branch 2 times, most recently from 9d96029 to 6960ac5 Compare November 14, 2026 08:25
@github-project-automation github-project-automation Bot moved this from ✅ Done to 📋 Backlog in PyFunceble Backlog Nov 14, 2026
@coveralls

coveralls commented Nov 14, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 96.572%. remained the same — renovate/pypi-dnspython-vulnerability into dev

@renovate renovate Bot changed the title Update dependency dnspython to ~=2.9.2 [SECURITY] Update dependency dnspython to ~=2.9.2 [SECURITY] - autoclosed Nov 16, 2026
@renovate renovate Bot closed this Nov 16, 2026
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in PyFunceble Backlog Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants