Description
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, the twisted.words.xish.domish ExpatElementStream parser allows an unauthenticated remote peer to keep a container element open while continuously adding child elements. The parser retains the unfinished stanza as an in-memory tree without a byte or element-count limit, and XMPP pre-authentication stream parsing exposes this behavior before credentials are accepted. A single connection can therefore exhaust server memory and terminate the process. 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 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-twisted +1 | 22.4.0-129.amzn2023.0.7 | ALAS2023-2026-3385 |
| Amazon Linux 2 | python-twisted-words | 12.2.0-4.amzn2.0.3 | ALAS2-2026-4074 |
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-3476-c5c2-fr73 |
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
- ALAS2-2026-4074 Important: python-twisted-words security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 9, 2026