Off-by-one Error Affecting gnutls28 package, versions <3.6.13-2ubuntu1.12+esm3


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.73% (50th 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-16355160
  • published15 Jul 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

CVE-2026-42015  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 gnutls28 to version 3.6.13-2ubuntu1.12+esm3 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. An off-by-one error exists in the PKCS#12 bag element bounds check. This vulnerability allows an remote attacker to write past the internal array of a PKCS#12 bag when appending to a bag that already contains 32 elements. This memory corruption could lead to a denial of service (DoS) or potentially other unspecified impacts.

CVSS Base Scores

version 3.1