StackPatch is liveSee product

Back to CVE digest
CVE-2026-42304 · cross-distro fix matrix

CVE-2026-42304: It was discovered that Twisted incorrectly handled DNS name decompression.

Affects 4 Linux releases across 12 (distro × package) combinations. First disclosed: 2026-05-13.

CVSS v3:HIGH · 7.5(NVD-published)

Fix per ecosystem

Each block below is a distro release where CVE-2026-42304 has a known fix. Run the listed command on that distro to remediate.

Ubuntu jammy

Source: Ubuntu USN

  • twisted→ fixed in22.1.0-2ubuntu2.7USN-8380-1
    sudo apt-get install --only-upgrade -y twisted
  • python3-twisted→ fixed in22.1.0-2ubuntu2.7USN-8380-1
    sudo apt-get install --only-upgrade -y python3-twisted
  • twisted-doc→ fixed in22.1.0-2ubuntu2.7USN-8380-1
    sudo apt-get install --only-upgrade -y twisted-doc

Ubuntu noble

Source: Ubuntu USN

  • twisted→ fixed in24.3.0-1ubuntu0.2USN-8380-1
    sudo apt-get install --only-upgrade -y twisted
  • python3-twisted→ fixed in24.3.0-1ubuntu0.2USN-8380-1
    sudo apt-get install --only-upgrade -y python3-twisted
  • twisted-doc→ fixed in24.3.0-1ubuntu0.2USN-8380-1
    sudo apt-get install --only-upgrade -y twisted-doc

Ubuntu questing

Source: Ubuntu USN

  • twisted→ fixed in24.11.0-1ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y twisted
  • python3-twisted→ fixed in24.11.0-1ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y python3-twisted
  • twisted-doc→ fixed in24.11.0-1ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y twisted-doc

Ubuntu resolute

Source: Ubuntu USN

  • twisted→ fixed in25.5.0-5ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y twisted
  • python3-twisted→ fixed in25.5.0-5ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y python3-twisted
  • twisted-doc→ fixed in25.5.0-5ubuntu0.1USN-8380-1
    sudo apt-get install --only-upgrade -y twisted-doc
Are YOU affected by CVE-2026-42304?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-42304dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)