Skip to content
OpenAdvisories
Low · 3.1 CVE-2026-83813 EUVD-2026-109152GHSA-jj36-9pvh-vj5r

Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation

Published Oct 23, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 twisted 26.10.0-1 —
Debian 13 twisted No fix yet —
Debian 12 twisted No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Twisted 26.10.0-1.1 openSUSE-SU-2026:12381-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-twisted No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI twisted < 26.10.0rc1 26.10.0rc1 GHSA-jj36-9pvh-vj5r

Advisories 2

References