CVE-2026-42012
Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans
CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-295 |
| Vendor | red hat |
| Product | red hat enterprise linux 10 |
| Published | May 26, 2026 |
| Last Updated | Jun 2, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat enterprise linux 10
Be the first to know when new high vulnerabilities affecting red hat red hat enterprise linux 10 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
Affected Versions
Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Hardened Images
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20611 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20612 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20613 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-42012 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2467441
Credits
Red Hat would like to thank Oleh Konko (1Seal) for reporting this issue.