Improper Null Termination Affecting gnutls28 package, versions <3.6.13-2ubuntu1.12+esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Social Trends
EPSS
1.05% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-GNUTLS28-16355206
  • published7 Jul 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

CVE-2026-42010  (opens in a new tab)
CWE-170  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 gnutls28 to version 3.6.13-2ubuntu1.12+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnutls28 package and not the gnutls28 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1