StackPatch is liveSee product

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

CVE-2026-42012: Joshua Rogers discovered that GnuTLS did not properly handle malformed

Affects 7 Linux releases across 33 (distro × package) combinations. First disclosed: 2026-05-20.

CVSS v3:HIGH · 7.1(NVD-published)

Fix per ecosystem

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

Ubuntu jammy

Source: Ubuntu USN

  • gnutls28→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls28
  • gnutls-bin→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-bin
  • gnutls-doc→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-doc
  • guile-gnutls→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y guile-gnutls
  • libgnutls-dane0→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-dane0
  • libgnutls-openssl27→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-openssl27
  • libgnutls28-dev→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls28-dev
  • libgnutls30→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls30
  • libgnutlsxx28→ fixed in3.7.3-4ubuntu1.9USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutlsxx28

Ubuntu noble

Source: Ubuntu USN

  • gnutls28→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls28
  • gnutls-bin→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-bin
  • gnutls-doc→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-doc
  • libgnutls-dane0t64→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-dane0t64
  • libgnutls-openssl27t64→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-openssl27t64
  • libgnutls28-dev→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls28-dev
  • libgnutls30t64→ fixed in3.8.3-1.1ubuntu3.6USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls30t64

Ubuntu questing

Source: Ubuntu USN

  • gnutls28→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls28
  • gnutls-bin→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-bin
  • gnutls-doc→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-doc
  • libgnutls-dane0t64→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-dane0t64
  • libgnutls-openssl27t64→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-openssl27t64
  • libgnutls28-dev→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls28-dev
  • libgnutls30t64→ fixed in3.8.9-3ubuntu2.2USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls30t64

Ubuntu resolute

Source: Ubuntu USN

  • gnutls28→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls28
  • gnutls-bin→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-bin
  • gnutls-doc→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y gnutls-doc
  • libgnutls-dane0t64→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-dane0t64
  • libgnutls-openssl27t64→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls-openssl27t64
  • libgnutls28-dev→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls28-dev
  • libgnutls30t64→ fixed in3.8.12-2ubuntu1.1USN-8284-1
    sudo apt-get install --only-upgrade -y libgnutls30t64

Debian bullseye

Source: Debian Security Tracker

  • gnutls28→ fixed in3.7.1-5+deb11u10urgency: not yet assigned
    sudo apt-get install --only-upgrade -y gnutls28

Debian bookworm

Source: Debian Security Tracker

  • gnutls28→ fixed in3.7.9-2+deb12u7urgency: not yet assigned
    sudo apt-get install --only-upgrade -y gnutls28

Debian trixie

Source: Debian Security Tracker

  • gnutls28→ fixed in3.8.9-3+deb13u4urgency: not yet assigned
    sudo apt-get install --only-upgrade -y gnutls28
Are YOU affected by CVE-2026-42012?

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-42012dropped 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)