Allocation of Resources Without Limits or Throttling Affecting twisted package, versions [,26.10.0rc1)


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.54% (46th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-TWISTED-21692667
  • published24 Oct 2026
  • disclosed23 Oct 2026
  • creditArkadiusz Marta

Introduced: 23 Oct 2026

NewCVE-2026-115778  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Twisted to version 26.10.0rc1 or higher.

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via twisted.conch.telnet.Telnet.dataReceived when processing a telnet subnegotiation that is never terminated. An attacker opens a connection, sends the two-byte sequence IAC SB to begin a subnegotiation, then streams an unbounded sequence of bytes without ever sending the IAC SE terminator. Because self.commands accumulates every received byte as a separate element and is only released upon receipt of the terminator the attacker withholds, the per-connection buffer grows without limit for the life of the connection, exhausting server memory.

PoC

On any endpoint that exposes the Twisted telnet transport, such as the Twisted manhole telnet service, open one connection and send the two bytes `IAC SB` (`0xFF 0xFA`), then stream any non-`0xFF` bytes continuously and never send the `IAC SE` terminator (`0xFF 0xF0`). No credentials are required, because option negotiation runs before authentication.

Every byte is appended to the per-connection subnegotiation buffer with no maximum, and the buffer is released only by the terminator the attacker withholds, so it grows for the life of the connection. Because each byte is retained as a separate element the memory consumed is several times the traffic sent, so a modest-bandwidth peer, or several such connections, drives the process to memory exhaustion.

Note: The PoC targets any endpoint exposing the Twisted telnet transport, such as the Twisted manhole telnet service, and notes that no credentials are required because option negotiation runs before authentication.

CVSS Base Scores

version 4.0
version 3.1