CVE-2026-42012 json
Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans
published 2026-05-26 5 mo ago modified 2026-11-03 5 d ago also EUVD-2026-32010
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 0:3.8.10-4.el10_2
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:3.8.9-9.el10_0.19
- Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION 0:2.12.23-22.el6_10.1
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:3.3.29-9.el7_9.2
- Red Hat Red Hat Enterprise Linux 8 0:3.6.16-8.el8_10.6
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:3.6.14-10.el8_4.1, 0:4.13-3.el8_4.1
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:3.6.14-10.el8_4.1, 0:4.13-3.el8_4.1
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:3.6.16-5.el8_6.5, 0:4.13-3.el8_6.2
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On 0:3.6.16-5.el8_6.5, 0:4.13-3.el8_6.2
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:3.6.16-7.el8_8.4, 0:4.13-4.el8_8.1
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:3.6.16-7.el8_8.4, 0:4.13-4.el8_8.1
- Red Hat Red Hat Enterprise Linux 9 0:3.8.10-4.el9_8
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:3.7.6-21.el9_2.7
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions 0:3.8.3-4.el9_4.6
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:3.8.3-6.el9_6.4
- Red Hat Red Hat OpenShift Container Platform 4.20 4.20.9.6.202610242033-0
- Red Hat Red Hat OpenShift Container Platform 4.21 4.21.9.6.202610241345-0
- Red Hat Red Hat OpenShift Container Platform 4.22 4.22.9.8.202610241758-0
- Red Hat Cert Manager support for Red Hat OpenShift release 1.17 1791371069, 1791371080, 1791788287, 1791970484
- Red Hat Cert Manager support for Red Hat OpenShift release 1.18 1789029076, 1791459707, 1791459711, 1791459759, 1791966259
- Red Hat Cert Manager support for Red Hat OpenShift release 1.20 1790598593
- Red Hat Red Hat Discovery 2 1782159791, 1782166952
- Red Hat Red Hat Hardened Images 3.8.13-1.hum1
- Red Hat Red Hat OpenShift AI 3.4 1790703542
- Red Hat Red Hat Update Infrastructure 5 1781525671, 1781525684, 1781525693, 1781525739, 1787135742, 1787241211, 1787241260
- gnutls28 Debian 12 3.7.9-2+deb12u7
- gnutls28 Debian 13 3.8.9-3+deb13u4
- gnutls28 Debian 14 3.8.13-1
debian advisories DEBIAN-CVE-2026-42012
- gnutls28 Ubuntu 22.04 LTS 3.7.3-4ubuntu1.9
- gnutls28 Ubuntu 24.04 LTS 3.8.3-1.1ubuntu3.6
- gnutls28 Ubuntu 25.10 3.8.9-3ubuntu2.2
- gnutls28 Ubuntu 26.04 LTS 3.8.12-2ubuntu1.1
- gnutls28 Ubuntu Pro 16.04 LTS 3.4.10-4ubuntu1.9+esm4
- gnutls28 Ubuntu Pro 18.04 LTS 3.5.18-1ubuntu1.6+esm4
- gnutls28 Ubuntu Pro 20.04 LTS 3.6.13-2ubuntu1.12+esm3
- gnutls28 Ubuntu Pro FIPS-updates 22.04 LTS 3.7.3-4ubuntu1.9+Fips1
ubuntu advisories UBUNTU-CVE-2026-42012
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gnutls RHEL 9 3.8.10-4.el9_8
- gnutls-c++ RHEL 9 3.8.10-4.el9_8
- gnutls-dane RHEL 9 3.8.10-4.el9_8
- gnutls-utils RHEL 9 3.8.10-4.el9_8
- gnutls RHEL 10.2 3.8.10-4.el10_2
- gnutls-c++ RHEL 10.2 3.8.10-4.el10_2
- gnutls-dane RHEL 10.2 3.8.10-4.el10_2
- gnutls-fips RHEL 10.2 3.8.10-4.el10_2
red hat advisories RHSA-2026:43575RHSA-2026:41921RHSA-2026:33125RHSA-2026:32962RHSA-2026:30850RHSA-2026:30849
- gnutls SLE Micro 5.3 3.7.3-150400.24.2
suse advisories SUSE-SU-2026:2822-1
- gnutls openSUSE Tumbleweed 3.8.13-1.1
opensuse advisories openSUSE-SU-2026:10691-1
- gnutls AlmaLinux 8 3.6.16-8.el8_10.6
- gnutls-c++ AlmaLinux 8 3.6.16-8.el8_10.6
- gnutls-dane AlmaLinux 8 3.6.16-8.el8_10.6
- gnutls-utils AlmaLinux 8 3.6.16-8.el8_10.6
- gnutls AlmaLinux 9 3.8.10-4.el9_8
- gnutls-c++ AlmaLinux 9 3.8.10-4.el9_8
- gnutls-dane AlmaLinux 9 3.8.10-4.el9_8
- gnutls-utils AlmaLinux 9 3.8.10-4.el9_8
almalinux advisories ALSA-2026:20611ALSA-2026:20612ALSA-2026:20613
- gnutls Rocky Linux 10 3.8.10-4.el10_2
- gnutls Rocky Linux 9 3.8.10-4.el9_8
- gnutls Rocky Linux 8 3.6.16-8.el8_10.6
rocky linux advisories RLSA-2026:20613RLSA-2026:20612RLSA-2026:20611
- gnutls Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.8.13-r0
alpine advisories ALPINE-CVE-2026-42012
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-42012 updated cvss 7.1
gnutls: gnutls: Certificate validation bypass due to improper handling of URI and SRV SANs
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 cert-manager/cert-manager-operator-rhel9 1791788287, cert-manager/jetstack-cert-manager-rhel9 1791371069, cert-manager/cert-manager-operator-bundle 1791970484, cert-manager/jetstack-cert-manager-acmesolver-rhel9 1791371080fixed: vendor fix RHSA-2026:82888
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 cert-manager/cert-manager-operator-rhel9 1789029076, cert-manager/jetstack-cert-manager-rhel9 1791459711, cert-manager/cert-manager-istio-csr-rhel9 1791459759, cert-manager/cert-manager-operator-bundle 1791966259, cert-manager/jetstack-cert-manager-acmesolver-rhel9 1791459707fixed: vendor fix RHSA-2026:82354
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 cert-manager/cert-manager-trust-manager-rhel9 1790598593fixed: vendor fix RHSA-2026:72502
-
Red Hat Discovery 2 discovery/discovery-ui-rhel9 1782166952, discovery/discovery-server-rhel9 1782159791fixed: vendor fix RHSA-2026:29197
-
Red Hat Enterprise Linux AppStream (v. 8) gnutls-c++ 3.6.16-8.el8_10.6, gnutls-dane 3.6.16-8.el8_10.6, gnutls-utils 3.6.16-8.el8_10.6fixed: vendor fix RHSA-2026:20611
-
Red Hat Enterprise Linux AppStream (v. 9) gnutls-c++ 3.8.10-4.el9_8, gnutls-dane 3.8.10-4.el9_8, gnutls-utils 3.8.10-4.el9_8fixed: vendor fix RHSA-2026:20612
show 32 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 10) gnutls-c++ 3.8.10-4.el10_2, gnutls-dane 3.8.10-4.el10_2, gnutls-fips 3.8.10-4.el10_2, gnutls-utils 3.8.10-4.el10_2fixed: vendor fix RHSA-2026:20613
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) gnutls-c++ 3.6.14-10.el8_4.1, gnutls-dane 3.6.14-10.el8_4.1, libtasn1-tools 4.13-3.el8_4.1, gnutls-utils 3.6.14-10.el8_4.1fixed: vendor fix RHSA-2026:33125
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) gnutls-c++ 3.6.16-5.el8_6.5, gnutls-dane 3.6.16-5.el8_6.5, gnutls-utils 3.6.16-5.el8_6.5, libtasn1-tools 4.13-3.el8_6.2fixed: vendor fix RHSA-2026:30849
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) gnutls-c++ 3.6.16-7.el8_8.4, gnutls-dane 3.6.16-7.el8_8.4, gnutls-utils 3.6.16-7.el8_8.4, libtasn1-tools 4.13-4.el8_8.1fixed: vendor fix RHSA-2026:30850
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) gnutls-c++ 3.7.6-21.el9_2.7, gnutls-dane 3.7.6-21.el9_2.7, gnutls-utils 3.7.6-21.el9_2.7fixed: vendor fix RHSA-2026:41921
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) gnutls-c++ 3.8.3-4.el9_4.6, gnutls-dane 3.8.3-4.el9_4.6, gnutls-utils 3.8.3-4.el9_4.6fixed: vendor fix RHSA-2026:32962
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) gnutls-c++ 3.8.9-9.el10_0.19, gnutls-dane 3.8.9-9.el10_0.19, gnutls-fips 3.8.9-9.el10_0.19, gnutls-utils 3.8.9-9.el10_0.19fixed: vendor fix RHSA-2026:26409
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) gnutls-c++ 3.8.3-6.el9_6.4, gnutls-dane 3.8.3-6.el9_6.4, gnutls-utils 3.8.3-6.el9_6.4fixed: vendor fix RHSA-2026:30004
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) gnutls-c++ 3.6.14-10.el8_4.1, gnutls-dane 3.6.14-10.el8_4.1, libtasn1-tools 4.13-3.el8_4.1, gnutls-utils 3.6.14-10.el8_4.1fixed: vendor fix RHSA-2026:33125
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) gnutls-c++ 3.6.16-5.el8_6.5, gnutls-dane 3.6.16-5.el8_6.5, gnutls-utils 3.6.16-5.el8_6.5, libtasn1-tools 4.13-3.el8_6.2fixed: vendor fix RHSA-2026:30849
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) gnutls-c++ 3.6.16-7.el8_8.4, gnutls-dane 3.6.16-7.el8_8.4, gnutls-utils 3.6.16-7.el8_8.4, libtasn1-tools 4.13-4.el8_8.1fixed: vendor fix RHSA-2026:30850
-
Red Hat Enterprise Linux BaseOS (v. 8) gnutls 3.6.16-8.el8_10.6fixed: vendor fix RHSA-2026:20611
-
Red Hat Enterprise Linux BaseOS (v. 9) gnutls 3.8.10-4.el9_8fixed: vendor fix RHSA-2026:20612
-
Red Hat Enterprise Linux BaseOS (v. 10) gnutls 3.8.10-4.el10_2fixed: vendor fix RHSA-2026:20613
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) libtasn1 4.13-3.el8_4.1, gnutls 3.6.14-10.el8_4.1fixed: vendor fix RHSA-2026:33125
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) gnutls 3.6.16-5.el8_6.5, libtasn1 4.13-3.el8_6.2fixed: vendor fix RHSA-2026:30849
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) gnutls 3.6.16-7.el8_8.4, libtasn1 4.13-4.el8_8.1fixed: vendor fix RHSA-2026:30850
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) gnutls 3.7.6-21.el9_2.7fixed: vendor fix RHSA-2026:41921
-
Red Hat Enterprise Linux BaseOS E4S (v.9.4) gnutls 3.8.3-4.el9_4.6fixed: vendor fix RHSA-2026:32962
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) gnutls 3.8.9-9.el10_0.19fixed: vendor fix RHSA-2026:26409
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) gnutls 3.8.3-6.el9_6.4fixed: vendor fix RHSA-2026:30004
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) libtasn1 4.13-3.el8_4.1, gnutls 3.6.14-10.el8_4.1fixed: vendor fix RHSA-2026:33125
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) gnutls 3.6.16-5.el8_6.5, libtasn1 4.13-3.el8_6.2fixed: vendor fix RHSA-2026:30849
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) gnutls 3.6.16-7.el8_8.4, libtasn1 4.13-4.el8_8.1fixed: vendor fix RHSA-2026:30850
-
Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) gnutls 2.12.23-22.el6_10.1, gnutls-utils 2.12.23-22.el6_10.1fixed: vendor fix RHSA-2026:94442
-
Red Hat Enterprise Linux Server (v. 7 ELS) gnutls 3.3.29-9.el7_9.2, gnutls-c++ 3.3.29-9.el7_9.2, gnutls-dane 3.3.29-9.el7_9.2, gnutls-utils 3.3.29-9.el7_9.2fixed: vendor fix RHSA-2026:43575
-
Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION) gnutls-guile 2.12.23-22.el6_10.1fixed: vendor fix RHSA-2026:94442
-
Red Hat Hardened Images gnutls 3.8.13-1.hum1, gnutls-c++ 3.8.13-1.hum1, gnutls-dane 3.8.13-1.hum1, gnutls-fips 3.8.13-1.hum1, gnutls-utils 3.8.13-1.hum1, mingw32-gnutls 3.8.13-1.hum1, +1 morefixed: vendor fix RHSA-2026:13274
-
Red Hat OpenShift AI 3.4 rhai/base-image-neuron-rhel9 1790703542fixed: vendor fix RHSA-2026:74674
-
Red Hat OpenShift Container Platform 4.20 rhcos 4.20.9.6.202610242033fixed: vendor fix RHSA-2026:89333
-
Red Hat OpenShift Container Platform 4.21 rhcos 4.21.9.6.202610241345fixed: vendor fix RHSA-2026:89232
-
Red Hat OpenShift Container Platform 4.22 rhcos 4.22.9.8.202610241758fixed: vendor fix RHSA-2026:89197
1 more fixed, 21 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat Red Hat OpenShift Container Platform 4.20
- Red Hat Red Hat OpenShift Container Platform 4.21
- Red Hat Red Hat OpenShift Container Platform 4.22
- Red Hat Cert Manager support for Red Hat OpenShift release 1.17
- Red Hat Cert Manager support for Red Hat OpenShift release 1.18
- Red Hat Cert Manager support for Red Hat OpenShift release 1.20
- Red Hat Red Hat Discovery 2
- Red Hat Red Hat Hardened Images
- Red Hat Red Hat OpenShift AI 3.4
- Red Hat Red Hat Update Infrastructure 5
- Red Hat Red Hat OpenShift Container Platform 4
- Red Hat Red Hat OpenShift Container Platform 5
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
access.redhat.com
/errata/RHSA-2026:13274
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:20611
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:20612
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:20613
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:26319
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:26409
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:29197
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:30004
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:30849
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:30850
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:32962
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:33125
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:41921
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:43575
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:58981
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:72502
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:74674
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82304
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82322
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82347
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82354
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82372
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82857
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82888
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:89197
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:89232
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:89333
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:94442
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-42012
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2467441
issue-tracking
- gnutls.org /security-new.html#GNUTLS-SA-2026-04-29-7
Sources
- CVE List CVE-2026-42012
- NVD CVE-2026-42012
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.