CVE-2026-42304

Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to 26.4.0rc2, the twisted.names module is vulnerable to a Denial of Service (DoS) attack via resource exhaustion during DNS name decompression. A remote, unauthenticated attacker can exploit this by sending a crafted TCP DNS packet containing deeply chained compression pointers. This flaw bypasses previous loop-prevention logic, causing the single-threaded Twisted reactor to hang while processing millions of recursive lookups, effectively freezing the server. This vulnerability is fixed in 26.4.0rc2.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*
cpe:2.3:a:twisted:twisted:26.4.0:rc1:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Twisted es un framework basado en eventos para aplicaciones de internet, compatible con Python 3.6+. Antes de 26.4.0rc2, el módulo twisted.names es vulnerable a un ataque de denegación de servicio (DoS) a través del agotamiento de recursos durante la descompresión de nombres DNS. Un atacante remoto no autenticado puede explotar esto enviando un paquete DNS TCP manipulado que contiene punteros de compresión profundamente encadenados. Esta falla omite la lógica de prevención de bucles anterior, lo que provoca que el reactor Twisted de un solo hilo se cuelgue mientras procesa millones de búsquedas recursivas, congelando efectivamente el servidor. Esta vulnerabilidad se corrige en 26.4.0rc2.

19 May 2026, 16:47

Type Values Removed Values Added
First Time Twisted
Twisted twisted
References () https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 - () https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:twisted:twisted:26.4.0:rc1:*:*:*:*:*:*
cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*

14 May 2026, 16:16

Type Values Removed Values Added
References () https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 - () https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4 -

13 May 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-13 21:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-42304

Mitre link : CVE-2026-42304

CVE.ORG link : CVE-2026-42304


JSON object : View

Products Affected

twisted

  • twisted
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-407

Inefficient Algorithmic Complexity