
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42013 is a certificate validation bypass vulnerability in GnuTLS (the GNU Transport Layer Security library) caused by improper handling of oversized Subject Alternative Name (SAN) fields. When a certificate contains an oversized SAN, the validation logic incorrectly falls back to checking the Common Name (CN) field instead, allowing a remote attacker to bypass proper certificate validation and potentially conduct spoofing or man-in-the-middle (MitM) attacks. The vulnerability was reported via Red Hat Bugzilla on May 6, 2026, and publicly disclosed on May 26, 2026. It carries a CVSS v3.1 base score of 8.2 (High) (Github Advisory, Red Hat CVE, Red Hat Bugzilla).
The root cause is classified as CWE-1284 (Improper Validation of Specified Quantity in Input): GnuTLS fails to properly validate the size of the SAN field during certificate verification, causing an erroneous fallback to CN-based hostname matching when the SAN is oversized (Github Advisory). This behavior violates RFC 6125, which mandates that if a SAN extension is present, the CN must not be used for hostname verification. An unauthenticated remote attacker can exploit this by presenting a crafted certificate with an oversized SAN and a CN matching the target hostname, causing a vulnerable GnuTLS client or server to accept the forged certificate as valid. No special privileges or user interaction are required for exploitation (Red Hat Bugzilla). The fix suppresses CN fallback when an oversized SAN is encountered.
Successful exploitation allows an unauthenticated remote attacker to impersonate legitimate TLS-secured services or intercept encrypted communications via man-in-the-middle attacks. The primary impact is a high integrity loss — attackers can forge valid-appearing certificates accepted by vulnerable GnuTLS clients — with a low confidentiality impact due to potential interception of data in transit. Availability is not directly affected. Any application or service relying on GnuTLS for TLS certificate validation (including those on RHEL 8 and 9, Debian, Ubuntu, SUSE, and Amazon Linux 2023) is potentially at risk (Github Advisory, Red Hat CVE).
gnutls-3.6.16-8.el8_10.6 on RHEL 8 or gnutls-3.8.10-4.el9_8 on RHEL 9) as identified by package manager queries.Vendors have released patched GnuTLS packages addressing CVE-2026-42013 alongside related vulnerabilities. For Red Hat Enterprise Linux 8, update to gnutls-3.6.16-8.el8_10.6 via RHSA-2026:20611; for RHEL 9, update to gnutls-3.8.10-4.el9_8 via RHSA-2026:20612 (Red Hat RHSA-2026:20611, Red Hat RHSA-2026:20612). Upstream GnuTLS 3.8.13 also addresses this issue. Patches are additionally available for Debian (LTS), Ubuntu (USN-8284-1), SUSE (SUSE-SU-2026:2087-1, SUSE-SU-2026:2115-1), openSUSE, and Amazon Linux 2023 (ALAS2023-2026-1808). As a compensating control where patching is not immediately possible, consider implementing certificate pinning for critical services and monitoring TLS connections for anomalous certificate patterns.
The vulnerability was covered by cybersecurity news outlets including CyberSecurityNews and Cryptika in the context of the GnuTLS 3.8.13 release, which addressed 12 vulnerabilities. Multiple Linux distribution security teams (Red Hat, Debian, Ubuntu, SUSE, openSUSE, Amazon) responded promptly with coordinated patch releases on or shortly after the May 26, 2026 disclosure date, indicating effective upstream coordination. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vulnerability tracking and advisory coverage.
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."