Twisted
Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.10.0rc1
Fixed in 26.10.0rc1
Mitigation
Upgrade twisted to 26.10.0rc1 or later.
References
- Vendor advisory github.com/twisted/twisted/security/advisories…
- Patch github.com/twisted/twisted/pull/12751
- Patch github.com/twisted/twisted/commit/8873814bec82…
1 more
- Release notes github.com/twisted/twisted/releases/tag/twiste…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.