A flaw was found in gnutls. When validating certificates, an oversized Subject Alternative Name (SAN) could cause the validation process to… (CVE-2026-42013)
A vulnerability in GnuTLS allows improper certificate validation when an oversized Subject Alternative Name (SAN) is present. The validation process may incorrectly fall back to checking the Common Name (CN) field, potentially enabling attackers to bypass proper certificate validation. This flaw could lead to spoofing or man-in-the-middle attacks. Red Hat has issued a security advisory with patches addressing this and related issues in GnuTLS for Red Hat Enterprise Linux 7 Extended Lifecycle Support. The vulnerability is rated as high severity based on CVSS 3.1 metrics. No known exploits are reported in the wild at this time.
AI Analysis
Technical Summary
CVE-2026-42013 is a certificate validation bypass vulnerability in GnuTLS caused by improper handling of oversized Subject Alternative Name (SAN) fields. When validating certificates, the presence of an oversized SAN can cause the validation logic to incorrectly revert to checking the Common Name (CN) field, bypassing intended SAN validation. This flaw can allow remote attackers to spoof certificates or conduct man-in-the-middle attacks by circumventing proper certificate validation. Red Hat's advisory confirms the issue and provides updated GnuTLS packages for Red Hat Enterprise Linux 7 Extended Lifecycle Support that fix this vulnerability along with other related certificate validation issues. The vulnerability has a CVSS 3.1 base score indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and impact on confidentiality and integrity.
Potential Impact
The vulnerability allows remote attackers to bypass proper certificate validation by exploiting the fallback to the Common Name field when an oversized SAN is present. This can lead to spoofing of TLS certificates or man-in-the-middle attacks, compromising confidentiality and integrity of communications secured by GnuTLS. The issue affects cryptographic trust decisions, potentially undermining secure connections.
Mitigation Recommendations
Red Hat has released updated GnuTLS packages that address this vulnerability as part of a security advisory (RHSA-2026:43575). Users of Red Hat Enterprise Linux 7 Extended Lifecycle Support should apply the provided security updates to remediate this issue. Details and update instructions are available at https://access.redhat.com/articles/11258. No other mitigation actions are specified by the vendor advisory. Patch status is confirmed with official fixes available.
A flaw was found in gnutls. When validating certificates, an oversized Subject Alternative Name (SAN) could cause the validation process to… (CVE-2026-42013)
Description
A vulnerability in GnuTLS allows improper certificate validation when an oversized Subject Alternative Name (SAN) is present. The validation process may incorrectly fall back to checking the Common Name (CN) field, potentially enabling attackers to bypass proper certificate validation. This flaw could lead to spoofing or man-in-the-middle attacks. Red Hat has issued a security advisory with patches addressing this and related issues in GnuTLS for Red Hat Enterprise Linux 7 Extended Lifecycle Support. The vulnerability is rated as high severity based on CVSS 3.1 metrics. No known exploits are reported in the wild at this time.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42013 is a certificate validation bypass vulnerability in GnuTLS caused by improper handling of oversized Subject Alternative Name (SAN) fields. When validating certificates, the presence of an oversized SAN can cause the validation logic to incorrectly revert to checking the Common Name (CN) field, bypassing intended SAN validation. This flaw can allow remote attackers to spoof certificates or conduct man-in-the-middle attacks by circumventing proper certificate validation. Red Hat's advisory confirms the issue and provides updated GnuTLS packages for Red Hat Enterprise Linux 7 Extended Lifecycle Support that fix this vulnerability along with other related certificate validation issues. The vulnerability has a CVSS 3.1 base score indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and impact on confidentiality and integrity.
Potential Impact
The vulnerability allows remote attackers to bypass proper certificate validation by exploiting the fallback to the Common Name field when an oversized SAN is present. This can lead to spoofing of TLS certificates or man-in-the-middle attacks, compromising confidentiality and integrity of communications secured by GnuTLS. The issue affects cryptographic trust decisions, potentially undermining secure connections.
Mitigation Recommendations
Red Hat has released updated GnuTLS packages that address this vulnerability as part of a security advisory (RHSA-2026:43575). Users of Red Hat Enterprise Linux 7 Extended Lifecycle Support should apply the provided security updates to remediate this issue. Details and update instructions are available at https://access.redhat.com/articles/11258. No other mitigation actions are specified by the vendor advisory. Patch status is confirmed with official fixes available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2pw7-g86g-76q7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-42013"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6151299c2644c7f8da6843
Added to database: 07/22/2026, 23:24:25 UTC
Last enriched: 07/23/2026, 00:00:09 UTC
Last updated: 07/23/2026, 00:15:05 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.