Off-by-one Error Affecting gnutls package, versions <0:3.6.16-8.el8_10.6


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.14% (34th 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-CENTOS8-GNUTLS-16895575
  • published27 May 2026
  • disclosed29 Apr 2026

Introduced: 29 Apr 2026

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

How to fix?

Upgrade Centos:8 gnutls to version 0:3.6.16-8.el8_10.6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnutls package and not the gnutls package as distributed by Centos. See How to fix? for Centos:8 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