Off-by-one Error Affecting gnutls package, versions [,3.8.13)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-UNMANAGED-GNUTLS-16964201
  • published28 May 2026
  • disclosed29 Apr 2026
  • creditZou Dikai

Introduced: 29 Apr 2026

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

How to fix?

Upgrade gnutls to version 3.8.13 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error through improper bounds checking in the PKCS#12 bag handling process. An attacker can cause memory corruption by appending to a PKCS#12 bag that already contains 32 elements, potentially resulting in denial of service or other unintended effects.

CVSS Base Scores

version 4.0
version 3.1