VAITP Dataset

← Back to the dataset

CVE-2026-114605

Unbounded DNS compression pointer traversal leads to DoS (dnspython <2.9.0).

  • CVSS 7.5
  • CWE-674
  • Resource Management
  • Remote

dnspython is a DNS toolkit for Python. Prior to 2.9.0, dns.name.from_wire_parser follows attacker-controlled DNS compression pointer chains without a hop limit. A malicious DNS wire-format message can force excessive pointer traversal during name decompression, causing high CPU use, application degradation, or denial of service in applications that process untrusted DNS messages. This issue is fixed in version 2.9.0.

CVSS base score
7.5
Published
2026-10-22
OWASP
A06 Vulnerable and Outdated Components
Orthogonal defect classification
Timing/Serialization
Code defect classification
Timing Issues
Category
Resource Management
Subcategory
Resource Exhaustion
Accessibility scope
Remote
Impact
Denial of Service (DoS)
Affected component
dnspython
Fixed by upgrading
Yes

Solution

Upgrade dnspython to version 2.9.0 or newer.

Vulnerable code sample

import dns.message
import dns.name

def parse_dns_message(raw_data: bytes) -> dns.message.Message:
    # VULNERABLE: unlimited pointer traversal in name decompression
    return dns.message.from_wire(raw_data)

Patched code sample

import dns.message
import dns.name

def parse_dns_message(raw_data: bytes) -> dns.message.Message:
    # FIX: limit pointer traversal depth during name decompression
    return dns.message.from_wire(raw_data, max_compression_pointers=10)

Published fix

Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.

Cite this entry

@misc{vaitp:cve2026114605,
  title        = {{Unbounded DNS compression pointer traversal leads to DoS (dnspython <2.9.0).}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-114605},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-114605/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.