CVE-2026-42012
gnutls: gnutls: Certificate validation bypass due to improper handling of URI and SRV SANs
Overview
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.
Source: OX vulnerability database
Severity
7.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Weakness: CWE-295
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 62 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | gnutls | 0:3.8.13-1.azl3 |
Oracle Linux 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | gnutls +4 | 3.3.29-9.0.3.el7_9 |
| 8 | gnutls +4 | 3.6.16-8.el8_10.6 |
| 9 | gnutls +4 | 10:3.8.10-4.el9_8_fips |
| 9 | gnutls +4 | 3.8.10-4.el9_8 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 7 | gnutls +4 | 0:3.3.29-9.el7_9.2 | RHSA-2026:43575 |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | gnutls +4 | 0:3.6.14-10.el8_4.1 | RHSA-2026:33125 |
| 8 | gnutls +4 | 0:3.6.16-5.el8_6.5 | RHSA-2026:30849 |
| 8 | gnutls +4 | 0:3.6.16-7.el8_8.4 | RHSA-2026:30850 |
9 more rows
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | gnutls +7 | 3.7.3-150400.4.59.1 | SUSE-SU-2026:2087-1 |
| 15.5 | gnutls +8 | 3.7.3-150400.4.59.1 | SUSE-SU-2026:2087-1 |
| 15.6 | gnutls +5 | 3.8.3-150600.4.20.1 | SUSE-SU-2026:2115-1 |
| 15.7 | gnutls +5 | 3.8.3-150600.4.20.1 | SUSE-SU-2026:2115-1 |
| 16.0 | gnutls +4 | 3.8.10-160000.3.1 | SUSE-SU-2026:21815-1 |
SUSE Linux Enterprise Micro 6 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | gnutls +2 | 3.7.3-150400.24.2 | SUSE-SU-2026:2822-1 |
| 5.4 | gnutls +2 | 3.7.3-150400.4.59.1 | SUSE-SU-2026:2087-1 |
| 5.5 | gnutls +2 | 3.7.3-150400.4.59.1 | SUSE-SU-2026:2087-1 |
| 6.0 | gnutls +1 | 3.8.3-7.1 | SUSE-SU-2026:21784-1 |
| 6.1 | gnutls +1 | 3.8.3-slfo.1.1_7.1 | SUSE-SU-2026:21867-1 |
| 6.2 | gnutls +1 | 3.8.10-160000.3.1 | SUSE-SU-2026:21752-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gnutls +4 | 3.6.16-8.el8_10.6 |
| 9 | gnutls +4 | 3.8.10-4.el9_8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | gnutls | 3.8.13-r0 |
| 3.23 | gnutls | 3.8.13-r0 |
| 3.24 | gnutls | 3.8.13-r0 |
| edge | gnutls | 3.8.13-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | gnutls +9 | 3.8.10-4.amzn2023.0.2 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | gnutls28 | 3.7.1-5+deb11u10 |
| 12 | gnutls28 | 3.7.9-2+deb12u7 |
| 13 | gnutls28 | 3.8.9-3+deb13u4 |
| 14 | gnutls28 | 3.8.13-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| gnutls28 | 3.8.9-3+e8 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gnutls +9 | 3.8.13-1.1 | openSUSE-SU-2026:10691-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | gnutls +5 | 3.8.10-160000.3.1 | openSUSE-SU-2026:20778-1 |
rocky 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | gnutls | 3.8.10-4.el10_2 |
| 8 | gnutls | 3.6.16-8.el8_10.6 |
| 9 | gnutls | 3.8.10-4.el9_8 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | rootio-gnutls | 3.8.13-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-gnutls28 | 3.7.9-2+deb12u7 |
| 13 | rootio-gnutls28 | 3.8.9-3+deb13u4 |
seal Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | libtasn1 +1 | 4.10-1.el7+sp999 |
| 8 | gnutls +1 | 3.6.16-8.el8_9.3+sp2 |
| 8 | libtasn1 +1 | 4.13-4.el8_7+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| gnutls28 +1 | 3.7.9-2+deb12u4+sp999 | |
| gnutls28 +1 | 3.7.9-2+sp999 | |
| gnutls28 +1 | 3.8.3-1.1ubuntu3.2+sp999 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | gnutls28 | 3.5.18-1ubuntu1.6+esm4 |
| 20.04-ESM | gnutls28 | 3.6.13-2ubuntu1.12+esm3 |
| 22.04 | gnutls28 | 3.7.3-4ubuntu1.9 |
| 24.04 | gnutls28 | 3.8.3-1.1ubuntu3.6 |
| 26.04 | gnutls28 | 3.8.12-2ubuntu1.1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13274
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20611
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20612
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:20613
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:26319
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:26409
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:29197
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30004
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30849
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30850
Show all 67 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:32962
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:33125
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:41921
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:43575
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:72502
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:74674
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82304
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82322
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82347
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82354
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82372
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82857
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:82888
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:89197
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:89232
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:89333
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:94442
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42012
- bugzilla.redhat.com https://bugzilla.redhat.com/2445763
- bugzilla.redhat.com https://bugzilla.redhat.com/2450624
- bugzilla.redhat.com https://bugzilla.redhat.com/2450625
- bugzilla.redhat.com https://bugzilla.redhat.com/2467279
- bugzilla.redhat.com https://bugzilla.redhat.com/2467289
- bugzilla.redhat.com https://bugzilla.redhat.com/2467437
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2445763
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2450624
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2450625
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467279
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467289
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467437
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467441
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467448
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467450
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467451
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467678
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33845
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33846
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3833
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42009
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42010
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42011
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42012
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42013
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42014
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42015
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-5260
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-20612.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:20611
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-42012.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50346.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42012
- ubuntu.com https://ubuntu.com/security/notices/USN-8284-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8539-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42012
- www.gnutls.org https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-7
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.