{
  "id": "CVE-2026-42304",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42304",
  "published_at": "2026-05-13T20:20:29.149Z",
  "title": "Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains",
  "vendor": "twisted",
  "product": "twisted",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:twisted:twisted:26.4.0:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "twisted",
        "product": "twisted",
        "ranges": [
          "\u003c 26.4.0rc2"
        ],
        "fixed_in": [
          "26.4.0rc2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade twisted to 26.4.0rc2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
