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.5% (43rd 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-21692659
  • published24 Oct 2026
  • disclosed23 Oct 2026
  • creditArkadiusz Marta

Introduced: 23 Oct 2026

NewCVE-2026-115776  (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 IRC.dataReceived in twisted.words.protocols.irc, which appends incoming data to an internal line buffer without enforcing a maximum length until the fix. A remote, unauthenticated peer can exhaust server memory by opening a TCP connection and continuously sending data that contains no line delimiter, causing the buffer to grow without bound for the lifetime of the connection.

PoC

On a standard Twisted words IRC server (the server `twistd words` runs, using `IRCUser`), an unauthenticated client opens a single TCP connection and continuously sends data that contains no line feed, never completing a line. Every chunk is appended to the connection's line buffer, and because no complete line is ever formed none of it is consumed, so the buffer grows by the full volume sent.

In a measured run against a real `IRCFactory` server, one unauthenticated connection sending 60 MB of line-feed-free data raised the server process resident memory from about 47 MB to 2966 MB (roughly 49 MB per MB sent) with the connection still open and no limit triggered. Sending the same volume as normal line-feed-terminated commands leaves memory flat, which isolates the cause to the missing line-length bound.

Note: The PoC states it was run against a real IRCFactory server using the twistd words IRC server with IRCUser, with an unauthenticated client sending 60 MB of line-feed-free data.

CVSS Base Scores

version 4.0
version 3.1