Skip to content
Noroxi
CVE-2026-42012· NVD / CVE Program· CNA redhat

Gnutls: gnutls: certificate validation bypass due to improper handling of uri and srv sans

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.

HighCVSS 7.1 · v3.1—No exploit Fix available
Published
May 26, 2026
Updated
Sep 29, 2026
EPSS
0.5% · 40th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · redhat
7.1
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • gitlab.com/gnutls/gnutls gnutls

    • 0affected
  • Red Hat Red Hat Discovery 2

    • 1782159791 and laternot affected · rpm
    • 1782166952 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10

    • 0:3.8.10-4.el10_2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support

    • 0:3.8.9-9.el10_0.19 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 6

    • all versionsaffected
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support

    • 0:3.3.29-9.el7_9.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8

    • 0:3.6.16-8.el8_10.6 and laternot affected · rpm
    • 0:3.6.16-8.el8_10.6 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

    • 0:3.6.14-10.el8_4.1 and laternot affected · rpm
    • 0:4.13-3.el8_4.1 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

    • 0:3.6.14-10.el8_4.1 and laternot affected · rpm
    • 0:4.13-3.el8_4.1 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

    • 0:3.6.16-5.el8_6.5 and laternot affected · rpm
    • 0:4.13-3.el8_6.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

    • 0:3.6.16-5.el8_6.5 and laternot affected · rpm
    • 0:4.13-3.el8_6.2 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service

    • 0:3.6.16-7.el8_8.4 and laternot affected · rpm
    • 0:4.13-4.el8_8.1 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.20gnutlsbefore 3.8.13-r03.8.13-r0
Debian:12gnutls28before 3.7.9-2+deb12u73.7.9-2+deb12u7
Debian:13gnutls28before 3.8.9-3+deb13u43.8.9-3+deb13u4
Debian:14gnutls28before 3.8.13-13.8.13-1
openSUSE:Tumbleweedgnutlsbefore 3.8.13-1.13.8.13-1.1
Red Hat:enterprise_linux_eus:10.0gnutlsbefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-c++before 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-c++-debuginfobefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-danebefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-dane-debuginfobefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-debuginfobefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-debugsourcebefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-develbefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-fipsbefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-utilsbefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux_eus:10.0gnutls-utils-debuginfobefore 0:3.8.9-9.el10_0.190:3.8.9-9.el10_0.19
Red Hat:enterprise_linux:10.2gnutlsbefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-c++before 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-c++-debuginfobefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-danebefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-dane-debuginfobefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-debuginfobefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-debugsourcebefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2
Red Hat:enterprise_linux:10.2gnutls-develbefore 0:3.8.10-4.el10_20:3.8.10-4.el10_2

+96

Other highest-scoring records for the same primary product.

  • CVE-2025-10230Samba: command injection in wins server hook script
    52Plan
  • CVE-2026-4631Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
    42Plan
  • CVE-2026-76578Ipa: freeipa: freeipa: unauthenticated ldap client can obtain administrator credentials via the self-managed-token aci
    39Monitor
  • CVE-2025-4404Freeipa: idm: privilege escalation from host to domain admin in freeipa
    37Monitor
  • CVE-2025-7493Freeipa: idm: privilege escalation from host to domain admin in freeipa
    36Monitor
  • CVE-2025-49796Libxml: type confusion leads to denial of service (dos)
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:gnutls3.8.13-r0 · Alpine:v3.20Package registry (OSV)
debian:gnutls283.7.9-2+deb12u7 · Debian:12Package registry (OSV)
opensuse:gnutls3.8.13-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:gnutls0:3.8.13-1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:gnutls-c++0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-c++-debuginfo0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-dane0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-dane-debuginfo0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-debuginfo0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-debugsource0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-devel0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-fips0:3.8.10-4.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:gnutls-utils0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:gnutls-utils-debuginfo0:3.6.16-8.el8_10.6 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:mingw32-gnutls0:3.8.13-1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
rocky linux:gnutls0:3.6.16-8.el8_10.6 · Rocky Linux:8Package registry (OSV)
suse:gnutls3.7.3-150400.24.2 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-6032336 days apartPodman: podman missing tls verification
    33Monitor
  • CVE-2026-420130 days apartGnutls: gnutls: certificate validation bypass due to oversized subject alternative name
    32Monitor
  • CVE-2026-4201119 days apartGnutls: gnutls: security bypass due to incorrect name constraint handling
    29Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

nvd-secondary

Root cause

A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

kotlin
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {  // Left empty for the test environment}

Fixed

kotlin
val client = OkHttpClient.Builder()  .certificatePinner(    CertificatePinner.Builder()      .add("api.sirius.example", "sha256/…")      .build()  ).build()

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records