CVE-2026-83813Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | twisted | Fix pending | UBUNTU-CVE-2026-83813 | |
| Ubuntu 26.04 | twisted | Under investigation | UBUNTU-CVE-2026-83813 | |
| Ubuntu 24.04 | twisted | Under investigation | UBUNTU-CVE-2026-83813 | |
| Ubuntu 22.04 | twisted | Under investigation | UBUNTU-CVE-2026-83813 | |
| Ubuntu 20.04 | twisted | Fix pending | UBUNTU-CVE-2026-83813 | |
| Ubuntu 18.04 | twisted | Fix pending | UBUNTU-CVE-2026-83813 | |
| Ubuntu 16.04 | twisted | Fix pending | UBUNTU-CVE-2026-83813 | |
| Ubuntu 14.04 | twisted | Fix pending | UBUNTU-CVE-2026-83813 | |
| Debian 14 | twisted | Fixed | 26.10.0-1 | DEBIAN-CVE-2026-83813 |
| Debian 13 | twisted | Fix pending | DEBIAN-CVE-2026-83813 | |
| Debian 12 | twisted | Fix pending | DEBIAN-CVE-2026-83813 | |
| Red Hat Enterprise Linux 6 | python-twisted | Fix pending Fix deferred | ||
| PyPI library | twisted | Fixed | 26.10.0rc1 | GHSA-jj36-9pvh-vj5r |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- twisted: affected: < 26.7.0rc1
References
- https://github.com/twisted/twisted/security/advisories/GHSA-jj36-9pvh-vj5r
- https://github.com/twisted/twisted/pull/12700
- https://github.com/twisted/twisted/commit/b53e1c3477c209b5609a1c74cf9e48373b5879ac
- https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.