
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42012 is a certificate validation bypass vulnerability in GnuTLS (the GNU Transport Layer Security library) classified as Improper Certificate Validation (CWE-295). A remote attacker can exploit this flaw by presenting a specially crafted certificate containing URI or Service (SRV) Subject Alternative Names (SANs), causing the validation process to incorrectly fall back to checking DNS hostnames against the certificate's Common Name (CN), potentially enabling service spoofing or interception of sensitive information. The vulnerability was reported on May 6, 2026 (via Red Hat Bugzilla) and publicly disclosed on May 26, 2026. It carries a CVSS v3.1 base score of 7.1 (High) (Github Advisory, Red Hat Bugzilla).
The root cause is improper certificate validation (CWE-295): when a certificate contains URI or SRV SAN extensions, GnuTLS's hostname verification logic incorrectly falls back to comparing DNS hostnames against the certificate's Common Name (CN) field rather than strictly enforcing SAN-based validation. Per RFC standards, the presence of any SAN extension should suppress CN-based hostname checking entirely. The fix suppresses CN fallback whenever URI or SRV SANs are present in the certificate. Exploitation requires network access and user interaction (e.g., a user or application initiating a TLS connection to an attacker-controlled server presenting the malicious certificate). No public proof-of-concept code has been identified (Github Advisory, Red Hat Bugzilla).
Successful exploitation allows an unauthenticated remote attacker to spoof legitimate TLS-secured services or perform man-in-the-middle attacks against clients using vulnerable GnuTLS versions. The primary impacts are high integrity loss (an attacker can impersonate trusted services) and low confidentiality loss (sensitive data transmitted over the spoofed connection may be intercepted). Availability is not directly impacted. Any application or system relying on GnuTLS for TLS/SSL/DTLS certificate validation — including those on RHEL 8 and 9, Debian, Ubuntu, SUSE, openSUSE, and Amazon Linux 2023 — is potentially affected (Github Advisory, Red Hat RHSA-2026:20611).
CN=legitimate.example.com with a URI SAN pointing to an unrelated resource).openssl x509 -text or gnutls-cli --print-cert to identify anomalous SAN combinations.Vendor patches are available as of May 26, 2026. Red Hat has released updated packages for RHEL 8 (gnutls-3.6.16-8.el8_10.6) via RHSA-2026:20611 and for RHEL 9 (gnutls-3.8.10-4.el9_8) via RHSA-2026:20612. Patches have also been issued for Debian (LTS and stable), Ubuntu (USN-8284-1), SUSE/openSUSE (SUSE-SU-2026:2087-1, SUSE-SU-2026:2115-1), and Amazon Linux 2023 (ALAS2023-2026-1808). The recommended remediation is to update GnuTLS to the patched version for your distribution as soon as possible. No configuration-based workaround is available; upgrading is the only effective mitigation (Red Hat RHSA-2026:20611, Red Hat RHSA-2026:20612, Github Advisory).
Red Hat assigned this vulnerability a security impact of "Important" and issued multiple errata (RHSA-2026:20611, RHSA-2026:20612, RHSA-2026:20613) covering RHEL 8 and 9 on the same day as public disclosure (May 26, 2026), indicating coordinated disclosure and rapid vendor response (Red Hat RHSA-2026:20611). The vulnerability was also quickly picked up by downstream distributions including Debian, Ubuntu, SUSE, and Amazon Linux, all releasing patches within days. Coverage appeared on Linux security news aggregators and German security news site pro-linux.de, reflecting broad community awareness. No notable independent researcher commentary or social media discussion beyond standard advisory tracking has been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."