Description
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.conch.telnet.Telnet.dataReceived appends every byte received after IAC SB to a persistent subnegotiation buffer until IAC SE is received, without applying a maximum length. Telnet option negotiation occurs before authentication, so an unauthenticated peer can omit the terminator and continuously grow the buffer. The resulting memory exhaustion can terminate the process and every service it hosts. This issue is fixed in version 26.10.0rc1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| twisted | twisted | < 26.10.0rc1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | twisted | 26.10.0-1 | — |
| Debian 13 | twisted | No fix yet | — |
| Debian 12 | twisted | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | twisted | No fix yet | — |
| Ubuntu 26.04 LTS | twisted | No fix yet | — |
| Ubuntu 24.04 LTS | twisted | No fix yet | — |
| Ubuntu 22.04 LTS | twisted | No fix yet | — |
| Ubuntu 20.04 LTS | twisted | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | twisted | No fix yet | — |
| Ubuntu Pro 16.04 LTS | twisted | No fix yet | — |
| Ubuntu Pro 14.04 LTS | twisted | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLES 15 SP5 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLES 15 SP4 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLES 3 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLES for SAP 15 SP5 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLES for SAP 15 SP4 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLE HPC 15 SP5 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
| SLE HPC 15 SP4 | python-Twisted | 22.10.0-150400.5.31.1 | SUSE-SU-2026:5215-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Twisted | 26.10.0-1.1 | openSUSE-SU-2026:12381-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-twisted +1 | 22.4.0-129.amzn2023.0.7 | ALAS2023-2026-3385 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-twisted | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | twisted | < 26.10.0rc1 | 26.10.0rc1 | GHSA-cwm5-jh59-mwxr |
Advisories 3
- SUSE-SU-2026:5215-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Nov 13, 2026
- ALAS2023-2026-3385 Important: python-twisted security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- openSUSE-SU-2026:12381-1 python-Twisted-doc-26.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 2, 2026
References
- https://github.com/twisted/twisted/security/advisories/GHSA-cwm5-jh59-mwxr
- https://github.com/twisted/twisted/pull/12750
- https://github.com/twisted/twisted/commit/073ba878c6c07d569cb61abc5ae76d46eff1b529
- https://github.com/twisted/twisted/commit/5d91cc66a3591faba758a80a1479e0103602facc
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1