Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans
Summary
| CVE | CVE-2026-42012 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-26 22:16:41 UTC |
| Updated | 2026-06-30 03:19:30 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
EPSS: 0.003540000 probability, percentile 0.274020000 (date 2026-07-04)
Problem Types: CWE-295 | CWE-295 Improper Certificate Validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
| 3.1 | CNA | CVSS | 7.1 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2026:29197 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| www.gnutls.org/security-new.html | [email protected] | www.gnutls.org | |
| access.redhat.com/errata/RHSA-2026:30004 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:33125 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:26319 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2026-42012 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:32962 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:26409 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:30850 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:20612 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:20613 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:30849 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:20611 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Oleh Konko (1Seal) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-06T19:16:02.753Z | Reported to Red Hat. |
| CNA | 2026-04-29T00:00:00.000Z | Made public. |
There are currently no legacy QID mappings associated with this CVE.