What’s Vulnerable › Vulnerabilities

CVE-2026-42012: Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Cert Manager support for Red Hat OpenShift release 1.17 1791371069, 1791371080, 1791788287, 1791970484; Red Hat Cert Manager support for Red Hat OpenShift release 1.18 1789029076, 1791459707, 1791459711, 1791459759; Red Hat Cert Manager support for Red Hat OpenShift release 1.20 1790598593; Red Hat Discovery 2 1782159791, 1782166952; Red Hat Enterprise Linux 10 0:3.8.10-4.el10_2; Red Hat Enterprise Linux 10.0 Extended Update Support 0:3.8.9-9.el10_0.19; Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:3.3.29-9.el7_9.2; Red Hat Enterprise Linux 8 0:3.6.16-8.el8_10.6; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:3.6.14-10.el8_4.1, 0:4.13-3.el8_4.1; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:3.6.14-10.el8_4.1, 0:4.13-3.el8_4.1; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:3.6.16-5.el8_6.5, 0:4.13-3.el8_6.2; Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On 0:3.6.16-5.el8_6.5, 0:4.13-3.el8_6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-42012 or the next vulnerability affects your stack