Description
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.10.0rc1, twisted.names.dns.DNSDatagramProtocol accepts a UDP DNS response for a pending query when its 16-bit transaction ID matches but does not verify that the response came from the queried host and port. An attacker able to deliver a packet to the resolver's listening port with the correct transaction ID can inject a forged answer. The standard twisted.names.client.Resolver uses a new random source port for each query, increasing off-path attack complexity, while applications that reuse a DNSDatagramProtocol instance expose only the transaction-ID search space after the first query. A successful forgery can redirect hostname resolution and enable mail interception, server-side request forgery, or man-in-the-middle positioning. This issue is fixed in version 26.10.0rc1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| twisted | twisted | < 26.7.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 |
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-jj36-9pvh-vj5r |
Advisories 2
- SUSE-SU-2026:5215-1 Security update for python-Twisted SUSE / openSUSE Security Updates · Nov 13, 2026
- openSUSE-SU-2026:12381-1 python-Twisted-doc-26.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 2, 2026