Advisory

UBUNTU-CVE-2026-42304

Also known as: CVE-2026-42304

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-13 21:16 UTC
Modified
2026-06-03 22:08 UTC

Affected packages and fixes

twisted

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

twisted

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 22.1.0-2ubuntu2.7 (ecosystem)

Fixed versions

22.1.0-2ubuntu2.7

Fix

  • Fixed version 22.1.0-2ubuntu2.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

twisted

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 24.3.0-1ubuntu0.2 (ecosystem)

Fixed versions

24.3.0-1ubuntu0.2

Fix

  • Fixed version 24.3.0-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

twisted

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 24.11.0-1ubuntu0.1 (ecosystem)

Fixed versions

24.11.0-1ubuntu0.1

Fix

  • Fixed version 24.11.0-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

twisted

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 25.5.0-5ubuntu0.1 (ecosystem)

Fixed versions

25.5.0-5ubuntu0.1

Fix

  • Fixed version 25.5.0-5ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences