GNUTLS Certificate Validation Bypass via URI/SRV SAN Fallback
CVE-2026-42012 Published on May 26, 2026
Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans
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.
Vulnerability Analysis
CVE-2026-42012 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a high impact on integrity, and no impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
Improper Certificate Validation
The software does not validate, or incorrectly validates, a certificate. When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The software might connect to a malicious host while believing it is a trusted host, or the software might be deceived into accepting spoofed data that appears to originate from a trusted host.
Products Associated with CVE-2026-42012
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-42012 are published in these products:
Affected Versions
Red Hat Enterprise Linux 10:- Version 0:3.8.10-4.el10_2 and below * is unaffected.
- Version 0:3.8.9-9.el10_0.19 and below * is unaffected.
- Version 0:3.6.16-8.el8_10.6 and below * is unaffected.
- Version 0:3.6.16-8.el8_10.6 and below * is unaffected.
- Version 0:3.8.10-4.el9_8 and below * is unaffected.
- Version 0:3.8.10-4.el9_8 and below * is unaffected.
- Version 1781525684 and below * is unaffected.
- Version 1781525671 and below * is unaffected.
- Version 1781525693 and below * is unaffected.
- Version 1781525739 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.