CVE-2026-42012

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGnutls
PublishedMay 26, 2026
First seenMay 26, 2026
Weakness typeCWE-295CWE-295

How to fix

Affected products

ProductAffected versionsFixed in
gnutls0—
Red Hat Red Hat Enterprise Linux 10No range specified—
Red Hat Red Hat Enterprise Linux 10.0 Extended Update SupportNo range specified—
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONNo range specified—
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle SupportNo range specified—
enterprise_linux 8No range specified—
rhel_aus 8.4No range specified—
rhel_aus 8.6No range specified—
rhel_e4s 8.8No range specified—
enterprise_linux 9No range specified—
rhel_e4s 9.2No range specified—
rhel_e4s 9.4No range specified—
rhel_eus 9.6No range specified—
openshift 4.20No range specified—
openshift 4.21No range specified—
openshift 4.22No range specified—
cert_manager 1.17No range specified—
cert_manager 1.18No range specified—
cert_manager 1.20No range specified—
discovery 2No range specified—
Red Hat Red Hat Hardened ImagesNo range specified—
openshift_ai 3.4No range specified—
rhui 5No range specified—
Red Hat Red Hat OpenShift Container Platform 4No range specified—
Red Hat Red Hat OpenShift Container Platform 5No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.