CVEfocus › CVE database › CVE-2026-42010

CVE-2026-42010Gnutls: gnutls: authentication bypass via nul character in username

CVSS 7.1 HighEPSS 1.0% (higher than 65% of CVEs)Published 2026-05-07Updated 2026-11-04Assigner: redhat

A flaw was found in gnutls. Servers configured with RSA-PSK (Rivest–Shamir–Adleman – Pre-Shared Key) wrongfully matched usernames containing a NUL character with truncated usernames. A remote attacker could exploit this by sending a specially crafted username, leading to an authentication bypass. This vulnerability allows an attacker to gain unauthorized access by circumventing the authentication process.

CWE-170CWE-626

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

47Fixed
1Fix pending
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gnutls28Fixed3.8.12-2ubuntu1.1UBUNTU-CVE-2026-42010
Ubuntu 25.10gnutls28Fixed3.8.9-3ubuntu2.2UBUNTU-CVE-2026-42010
Ubuntu 24.04gnutls28Fixed3.8.3-1.1ubuntu3.6UBUNTU-CVE-2026-42010
Ubuntu 22.04gnutls28Fixed3.7.3-4ubuntu1.9UBUNTU-CVE-2026-42010
Ubuntu 20.04gnutls28Fix pending3.6.13-2ubuntu1.12+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-42010
Debian 14gnutls28Fixed3.8.13-1DEBIAN-CVE-2026-42010
Debian 13gnutls28Fixed3.8.9-3+deb13u4DEBIAN-CVE-2026-42010
Debian 12gnutls28Fixed3.7.9-2+deb12u7DEBIAN-CVE-2026-42010
Red Hat Enterprise Linux 10gnutlsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-c++Fixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-daneFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-develFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-fipsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-utilsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 9gnutlsFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-c++Fixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-daneFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-develFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-utilsFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 8gnutlsFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-c++Fixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-daneFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-develFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-utilsFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 7gnutlsNot affected
Red Hat Enterprise Linux 7gnutls-c++Not affected
Red Hat Enterprise Linux 7gnutls-daneNot affected
Red Hat Enterprise Linux 7gnutls-develNot affected
Red Hat Enterprise Linux 7gnutls-utilsNot affected
Red Hat Enterprise Linux 6gnutlsNot affected
Red Hat Enterprise Linux 6gnutls-develNot affected
Red Hat Enterprise Linux 6gnutls-guileNot affected
Red Hat Enterprise Linux 6gnutls-utilsNot affected
AlmaLinux 10gnutlsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-c++Fixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-daneFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-develFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-fipsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-utilsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 9gnutlsFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-c++Fixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-daneFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-develFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-utilsFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 8gnutlsFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-c++Fixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-daneFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-develFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-utilsFixed3.6.16-8.el8_10.6ALSA-2026:20611
Rocky Linux 10gnutlsFixed0:3.8.10-4.el10_2RLSA-2026:20613
Rocky Linux 9gnutlsFixed0:3.8.10-4.el9_8RLSA-2026:20612
Rocky Linux 8gnutlsFixed0:3.6.16-8.el8_10.6RLSA-2026:20611
Alpine Linux 3.24gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42010
Alpine Linux 3.23gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42010
Alpine Linux 3.22gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42010
Alpine Linux 3.21gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42010
Alpine Linux 3.20gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42010

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.