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

Published May 6, 2026
·
Updated

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.

Other sources

Gnutls: gnutls: authentication bypass via nul character in username

— Microsoft

libgnutls: Servers configured with RSA-PSK have wrongfully matched usernames with NUL character in them to ones truncated to NUL character, which could lead to an authentication bypass. Fix the check to perform comparison up to the full username length. Reported by Joshua Rogers of AISLE Research Team. [GNUTLS-SA-2026-04-29-4, CVSS: high] [CVE-2026-42010]

— Red Hat

Affected Software

57 affected componentsFixes available
GnuTLS libgnutls
Microsoft azl3 gnutls 3.8.3-8
Microsoft azl3 gnutls 3.8.3-11
IBM Netezza Software<=11.3.0.3-IF2
GNU GnuTLS>=3.6.13<3.8.13
redhat Ai Inference Server>=3.2.0<3.2.2
redhat Cert-manager Operator Openshift>=1.17.0<1.17.2
redhat Cert-manager Operator Openshift>=1.18.0<1.18.2
redhat Cert-manager Operator Openshift=1.20.0
redhat Discovery=2.0
redhat Hardened Images
redhat OpenShift AI>=3.4<3.4.3
redhat OpenShift Container Platform>=4.12<4.12.97
redhat OpenShift Container Platform>=4.13<4.13.71
redhat OpenShift Container Platform>=4.14<4.14.73
redhat OpenShift Container Platform>=4.15<4.15.69
redhat OpenShift Container Platform>=4.16<4.16.69
redhat OpenShift Container Platform>=4.17<4.17.57
redhat OpenShift Container Platform>=4.18<4.18.54
redhat OpenShift Container Platform>=4.19<4.19.39
redhat OpenShift Container Platform>=4.20<4.20.28
redhat OpenShift Container Platform>=4.21<4.21.23
redhat OpenShift Container Platform>=4.22<4.22.4
redhat OpenShift Container Platform=5.0
redhat Update Infrastructure=5.3
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
redhat Enterprise Linux Aus=8.4
redhat Enterprise Linux Aus=8.6
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Eus=9.6
redhat Enterprise Linux Eus=10.0
redhat Enterprise Linux Tus=8.8
redhat Enterprise Linux Update Services For Sap Solutions=8.8
redhat Enterprise Linux Update Services For Sap Solutions=9.2
redhat Enterprise Linux Update Services For Sap Solutions=9.4
alpine/gnutls>=3.6.13<3.8.13-r0
3.8.13-r0
alpine/gnutls>=3.6.13<3.8.13-r0
3.8.13-r0
alpine/gnutls>=3.6.13<3.8.13-r0
3.8.13-r0
alpine/gnutls>=3.6.13<3.8.13-r0
3.8.13-r0
alpine/gnutls>=3.6.13<3.8.13-r0
3.8.13-r0
debian/gnutls28<3.7.9-2+deb12u7
3.7.9-2+deb12u7
debian/gnutls28<3.8.9-3+deb13u4
3.8.9-3+deb13u4
debian/gnutls28<3.8.13-1
3.8.13-1
debian/gnutls28
3.7.1-5+deb11u103.7.9-2+deb12u73.8.9-3+deb13u43.8.13-1
ubuntu/gnutls28<3.6.13-2ubuntu1.12+esm2
3.6.13-2ubuntu1.12+esm2
ubuntu/gnutls28<3.7.3-4ubuntu1.9
3.7.3-4ubuntu1.9
ubuntu/gnutls28*
ubuntu/gnutls28<3.7.3-4ubuntu1.9+Fips1
3.7.3-4ubuntu1.9+Fips1
ubuntu/gnutls28<3.8.3-1.1ubuntu3.6
3.8.3-1.1ubuntu3.6
ubuntu/gnutls28<3.8.3-1.1ubuntu3.6+Fips1.2
3.8.3-1.1ubuntu3.6+Fips1.2
ubuntu/gnutls28<3.8.9-3ubuntu2.2
3.8.9-3ubuntu2.2
ubuntu/gnutls28<3.8.12-2ubuntu1.1
3.8.12-2ubuntu1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/gnutls to a version that resolves this vulnerability.

    Fixed in 3.8.13-r0
  2. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.9-2+deb12u7
  3. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.9-3+deb13u4
  4. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.13-1
  5. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.1-5+deb11u10Fixed in 3.7.9-2+deb12u7Fixed in 3.8.9-3+deb13u4Fixed in 3.8.13-1
  6. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.6.13-2ubuntu1.12+esm2
  7. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.3-4ubuntu1.9
  8. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.3-4ubuntu1.9+Fips1
  9. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.3-1.1ubuntu3.6
  10. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.3-1.1ubuntu3.6+Fips1.2
  11. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.9-3ubuntu2.2
  12. Upgrade

    Upgrade ubuntu/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.8.12-2ubuntu1.1
  13. Configuration

    Fix the authentication check to compare the entire provided username length; ensure usernames containing a NUL character are not treated as truncated at the NUL character (for RSA-PSK servers that incorrectly matched NUL-containing usernames).

    GnuTLS (libgnutls) authentication code for RSA-PSK username comparison Username comparison length = Perform comparison up to the full username length (do not stop at NUL character)
  14. Compensating control

    Until the check is fixed, restrict access to the RSA-PSK authentication endpoints so only trusted clients can authenticate, reducing the chance of exploitation via crafted NUL-containing usernames.

Event History

May 6, 2026
Data Sourced
via Red Hat·05:08 PM
DescriptionSeverityAffected Software
May 7, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
DescriptionSeverity
Data Sourced
via OSV·12:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
Weakness
May 13, 2026
Data Sourced
via NVD·01:54 PM
Affected Software
Updated
via NVD·01:54 PM
Severity
Event
via NVD·01:54 PM
May 15, 2026
Data Sourced
via Microsoft·08:02 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:02 AM
Affected Software
May 18, 2026
News Published
via The Hacker News·01:50 PM
Jun 10, 2026
Data Sourced
via MITRE·02:37 PM
Weakness
Updated
via NVD·04:17 PM
Weakness
Jun 30, 2026
Updated
via NVD·03:19 AM
SeverityWeakness
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 20, 2026
Updated
via NVD·03:06 PM
Affected Software
Updated
via NVD·05:11 PM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-42010?

CVE-2026-42010 is classified as a medium severity vulnerability due to the potential for authentication bypass.

2

How do I fix CVE-2026-42010?

To fix CVE-2026-42010, update to the latest version of GnuTLS that addresses this vulnerability.

3

What types of systems are affected by CVE-2026-42010?

CVE-2026-42010 affects systems using GnuTLS with RSA-PSK authentication configured to accept usernames.

4

Is CVE-2026-42010 remotely exploitable?

Yes, CVE-2026-42010 can be remotely exploited by attackers sending specially crafted usernames containing NUL characters.

5

What impact does CVE-2026-42010 have on user authentication?

CVE-2026-42010 allows attackers to bypass authentication processes, potentially granting unauthorized access to systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203