Inefficient Algorithmic Complexity Affecting twisted package, versions [,26.4.0rc2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.43% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-TWISTED-16424743
  • published6 May 2026
  • disclosed5 May 2026
  • credittomasilluminati

Introduced: 5 May 2026

CVE-2026-42304  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Twisted to version 26.4.0rc2 or higher.

Overview

Twisted is an event-based network programming and multi-protocol integration framework.

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through the decode function in the DNS name decompression process. An attacker can cause the server to hang and exhaust resources by sending a crafted TCP DNS packet with deeply chained compression pointers, resulting in the event loop becoming unresponsive.

CVSS Base Scores

version 4.0
version 3.1