Improper Certificate Validation Affecting gnutls package, versions <0:3.6.16-8.el8_10.6


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.03% (10th 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-16895569
  • published27 May 2026
  • disclosed29 Apr 2026

Introduced: 29 Apr 2026

CVE-2026-42012  (opens in a new tab)
CWE-295  (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. A remote attacker could exploit this vulnerability by presenting a specially crafted certificate that contains Uniform Resource Identifier (URI) or Service (SRV) Subject Alternative Names (SANs). This could cause the certificate validation process to incorrectly fall back to checking DNS hostnames against the Common Name (CN), potentially allowing the attacker to spoof legitimate services or intercept sensitive information.

CVSS Base Scores

version 3.1