cve.bz

CVE-2026-42012 Improper Certificate Validation

7.1 highEPSS 0.4%Fix available

High (7.1). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:3.8.10-4.el10_2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:3.8.9-9.el10_0.19
  • Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION: fixed in 0:2.12.23-22.el6_10.1
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:3.3.29-9.el7_9.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:3.6.16-8.el8_10.6
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:3.6.14-10.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.13-3.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:3.6.14-10.el8_4.1
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-42012 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42012?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42012?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42012 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:3.8.10-4.el10_2
Red Hat Enterprise Linux 10.0 Extended Update Support0:3.8.9-9.el10_0.19
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION0:2.12.23-22.el6_10.1
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:3.3.29-9.el7_9.2
Red Hat Enterprise Linux 80:3.6.16-8.el8_10.6
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:3.6.14-10.el8_4.1
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.13-3.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:3.6.14-10.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:4.13-3.el8_4.1
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:3.6.16-5.el8_6.5
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:4.13-3.el8_6.2
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:3.6.16-5.el8_6.5
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:4.13-3.el8_6.2
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:3.6.16-7.el8_8.4
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:4.13-4.el8_8.1
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:3.6.16-7.el8_8.4
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:4.13-4.el8_8.1
Red Hat Enterprise Linux 90:3.8.10-4.el9_8
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:3.7.6-21.el9_2.7
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:3.8.3-4.el9_4.6
Red Hat Enterprise Linux 9.6 Extended Update Support0:3.8.3-6.el9_6.4
Red Hat OpenShift Container Platform 4.204.20.9.6.202610242033-0
Red Hat OpenShift Container Platform 4.214.21.9.6.202610241345-0
Red Hat OpenShift Container Platform 4.224.22.9.8.202610241758-0
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371080
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371069
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791788287
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791970484
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459707
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459711
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459759
Red Hat Cert Manager support for Red Hat OpenShift release 1.181789029076
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791966259
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790598593
Red Hat Discovery 21782159791
Red Hat Discovery 21782166952
Red Hat Hardened Images3.8.13-1.hum1
Red Hat OpenShift AI 3.41790703542
Red Hat Update Infrastructure 51781525684
Red Hat Update Infrastructure 51781525671
Red Hat Update Infrastructure 51781525693
Red Hat Update Infrastructure 51781525739
Red Hat Update Infrastructure 51787241211
Red Hat Update Infrastructure 51787135742
Red Hat Update Infrastructure 51787241260

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gnutls283.7.1-5+deb11u10DLA-4595-1
Debian12gnutls283.7.9-2+deb12u7DEBIAN-CVE-2026-42012 DSA-6281-1
Debian13gnutls283.8.9-3+deb13u4DEBIAN-CVE-2026-42012 DSA-6281-1
Debian14gnutls283.8.13-1DEBIAN-CVE-2026-42012
Ubuntu22.04:LTSgnutls283.7.3-4ubuntu1.9UBUNTU-CVE-2026-42012
Ubuntu24.04:LTSgnutls283.8.3-1.1ubuntu3.6UBUNTU-CVE-2026-42012
Ubuntu25.10gnutls283.8.9-3ubuntu2.2UBUNTU-CVE-2026-42012
Ubuntu26.04:LTSgnutls283.8.12-2ubuntu1.1UBUNTU-CVE-2026-42012
UbuntuPro:16.04:LTSgnutls283.4.10-4ubuntu1.9+esm4UBUNTU-CVE-2026-42012 USN-8539-1
UbuntuPro:18.04:LTSgnutls283.5.18-1ubuntu1.6+esm4UBUNTU-CVE-2026-42012 USN-8539-1
UbuntuPro:20.04:LTSgnutls283.6.13-2ubuntu1.12+esm3UBUNTU-CVE-2026-42012 USN-8539-1
UbuntuPro:FIPS-preview:22.04:LTSgnutls28no fix listedUBUNTU-CVE-2026-42012
UbuntuPro:FIPS-updates:22.04:LTSgnutls283.7.3-4ubuntu1.9+Fips1UBUNTU-CVE-2026-42012
UbuntuPro:FIPS-updates:24.04:LTSgnutls283.8.3-1.1ubuntu3.6+Fips1.2UBUNTU-CVE-2026-42012
Red Hatenterprise_linux:8::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hatenterprise_linux:8::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hatenterprise_linux:9::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.8.10-4.el9_8RHSA-2026:20612
Red Hatenterprise_linux:9::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.8.10-4.el9_8RHSA-2026:20612
Red Hatenterprise_linux:10.2gnutls, gnutls-c++, gnutls-dane and 8 more0:3.8.10-4.el10_2RHSA-2026:20613
Red Hatenterprise_linux_eus:10.0gnutls, gnutls-c++, gnutls-dane and 8 more0:3.8.9-9.el10_0.19RHSA-2026:26409
Red Hathummingbird:1gnutls, gnutls-c++, gnutls-dane and 5 more0:3.8.13-1.hum1RHSA-2026:13274
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 5 more0:3.6.14-10.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibtasn1-devel, libtasn1-tools, libtasn1-debuginfo and 2 more0:4.13-3.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 2 more0:3.6.14-10.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibtasn1, libtasn1-debuginfo, libtasn1-debugsource and 1 more0:4.13-3.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-5.el8_6.5RHSA-2026:30849
15 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.3gnutls3.7.3-150400.24.2SUSE-SU-2026:2822-1
openSUSETumbleweedgnutls3.8.13-1.1openSUSE-SU-2026:10691-1
AlmaLinux8gnutls, gnutls-c++, gnutls-dane and 2 more3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux9gnutls, gnutls-c++, gnutls-dane and 2 more3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux10gnutls, gnutls-c++, gnutls-dane and 3 more3.8.10-4.el10_2ALSA-2026:20613
Rocky Linux8gnutls0:3.6.16-8.el8_10.6RLSA-2026:20611
Rocky Linux9gnutls0:3.8.10-4.el9_8RLSA-2026:20612
Rocky Linux10gnutls0:3.8.10-4.el10_2RLSA-2026:20613
Alpinev3.20, v3.21, v3.22 and 2 moregnutls3.8.13-r0ALPINE-CVE-2026-42012
Azure Linux3gnutls3.8.13-1AZL-89187
Alpaquita23, 25, streamgnutls3.8.13-r0BELL-CVE-2026-42012

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because exploitation requires an active man-in-the-middle position or tricking a client into connecting to a rogue endpoint, along with obtaining a validly signed certificate containing specialized SAN fields. While GnuTLS is widely deployed across Red Hat products as a core cryptographic library, the impact is limited to hostname verification spoofing under specific certificate configurations. The issue does not permit remote code execution or direct compromise of the underlying system.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gnutls-0:3.8.10-4.el10_2Fixed 2026-05-26RHSA-2026:20613
Red Hat Enterprise Linux 10.0 Extended Update Supportgnutls-0:3.8.9-9.el10_0.19Fixed 2026-06-16RHSA-2026:26409
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgnutls-0:3.3.29-9.el7_9.2Fixed 2026-07-22RHSA-2026:43575
Red Hat Enterprise Linux 8gnutls-0:3.6.16-8.el8_10.6Fixed 2026-05-26RHSA-2026:20611
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgnutls-0:3.6.14-10.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibtasn1-0:4.13-3.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongnutls-0:3.6.14-10.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibtasn1-0:4.13-3.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgnutls-0:3.6.16-5.el8_6.5Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibtasn1-0:4.13-3.el8_6.2Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Ongnutls-0:3.6.16-5.el8_6.5Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibtasn1-0:4.13-3.el8_6.2Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegnutls-0:3.6.16-7.el8_8.4Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibtasn1-0:4.13-4.el8_8.1Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgnutls-0:3.6.16-7.el8_8.4Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibtasn1-0:4.13-4.el8_8.1Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 6gnutlsAffected
Red Hat OpenShift Container Platform 4openshift4/ose-hypershift-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
28 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42012.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON