Cloudanix VulnDB

CVE-2026-42011

High · 7.4

CVSS

7.4

EPSS

0.5%

Published

May 7, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

Some systems may wrongly trust fake security certificates, letting an attacker impersonate a trusted service and read or alter supposedly private communications.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Library
Class
Cryptographic Weakness
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

This flaw affects GnuTLS certificate path validation. When a certificate chain includes earlier Certificate Authorities that contain only excluded name constraints, GnuTLS may incorrectly ignore later permitted name constraints. As a result, a certificate that should be rejected because it is not permitted for a given DNS name, email name, IP range, or other constrained namespace may be accepted as valid. The practical technical impact is a certificate validation bypass that can undermine TLS authentication and allow spoofing or man-in-the-middle interception where the attacker can present a crafted or mis-issued certificate chain that triggers the constraint-handling error.

Why it matters to the business

Systems that rely on affected GnuTLS versions may trust certificates they should reject, which can expose encrypted communications to impersonation, traffic interception, credential theft, or data manipulation. The CVSS score is high, but exploitation has high complexity and currently low EPSS with no known KEV listing, ransomware association, or public exploit maturity reported, so risk is most significant for internet-facing services, clients, package managers, APIs, VPNs, mail systems, and internal service-to-service communications that depend on GnuTLS for certificate validation. Organizations with broad Linux or embedded-device footprints should treat this as a cryptographic trust issue because impact may be distributed across many applications that dynamically link to GnuTLS.

How an attack unfolds

An attacker first identifies a target application, client, or service that uses a vulnerable GnuTLS library to validate TLS certificates. The attacker then obtains or constructs a certificate chain where name constraints are arranged such that a previous CA has only excluded constraints and a later CA has permitted constraints that should restrict the names for which certificates are valid. Due to the flaw, the vulnerable validation logic may fail to enforce the permitted constraints. The attacker then positions themselves where they can influence the victim's connection, such as on the network path, through DNS manipulation, proxying, rogue Wi-Fi, compromised routing, or control of a malicious endpoint. When the victim initiates a TLS connection, the attacker presents the crafted chain for a name that should not be accepted. If the vulnerable GnuTLS validation path accepts the certificate, the attacker can impersonate the intended service, decrypt or relay traffic, capture credentials or tokens, and potentially alter responses without triggering normal certificate validation failures.

How to fix it

Upgrade GnuTLS to a vendor-provided fixed release as soon as patches are available for the affected operating system, distribution, appliance, container image, or embedded platform. Because no exact fixed versions were provided in the input, use the fixed GnuTLS packages published by the relevant Linux distribution or software vendor rather than relying only on upstream version strings. Rebuild or restart applications that statically link GnuTLS or that keep the library loaded in long-running processes. Refresh base container images and redeploy workloads that include vulnerable GnuTLS packages. Where immediate patching is not possible, reduce exposure by enforcing trusted network paths, disabling use of untrusted proxies, pinning certificates or public keys for high-value connections where operationally feasible, restricting custom CA trust stores, and monitoring for unexpected certificate chains or issuing CAs. Mitigations should not be considered equivalent to patching because the root issue is in certificate validation behavior.

How to confirm the fix worked

Confirm exposure by inventorying installed GnuTLS packages and library versions across servers, workstations, containers, appliances, and application bundles. Use operating-system package tools to verify that the vendor advisory package containing the fix is installed. For dynamically linked applications, confirm they load the patched GnuTLS shared library after restart; for statically linked applications, verify the application has been rebuilt against a fixed GnuTLS version. Run TLS validation regression tests using certificate chains designed to exercise name constraints, including chains where a prior CA has only excluded constraints followed by permitted constraints, and verify the invalid chain is rejected. Validate container images by scanning built images, not only hosts. If a vendor backports the fix without changing the upstream version number, rely on package changelogs and advisory metadata rather than the raw version string alone.

Typical attack path

  1. Identify applications or services that use vulnerable GnuTLS certificate validation.
  2. Prepare a certificate chain that abuses the name-constraints handling error, especially chains involving earlier CAs with only excluded constraints and later CAs with permitted constraints.
  3. Gain a position to influence victim TLS traffic, such as man-in-the-middle network access, DNS redirection, malicious proxying, rogue access point control, or service impersonation.
  4. Present the crafted certificate chain during the TLS handshake for a target name that should be rejected under correct name-constraint enforcement.
  5. Rely on the vulnerable GnuTLS logic to accept the invalid certificate chain.
  6. Impersonate the target service, intercept encrypted traffic, harvest credentials or tokens, or modify data in transit.

How to detect it

Detection is difficult because successful exploitation may look like a normal TLS session from the application perspective. Investigate by combining network telemetry, TLS inspection metadata, endpoint logs, and certificate transparency or certificate inventory data. Look for TLS handshakes where the presented chain includes name-constrained CAs and the leaf certificate name does not align with the permitted namespace that should apply. Review proxy, gateway, EDR, and application logs for certificate validation warnings, unexpected certificate issuers, sudden changes in certificate chains for known services, and connections routed through unusual proxies or networks. On endpoints and servers, identify processes using GnuTLS during suspicious outbound sessions and correlate with DNS changes, ARP spoofing, rogue Wi-Fi, proxy configuration changes, or BGP/routing anomalies. If traffic capture is available, preserve certificate chains from suspicious sessions and re-validate them with a patched GnuTLS or independent X.509 validator. Because no named threat actors, known exploit tooling, or public exploit maturity were provided, detection should focus on anomalous certificate-chain behavior and signs of man-in-the-middle positioning rather than malware-specific indicators.

  • gnutls_certificate_verify_peers
  • The certificate is NOT trusted
  • certificate validation failed
  • certificate verify failed
  • name constraint
  • permitted name constraint
  • excluded name constraint
  • GNUTLS_CERT_INVALID
  • GNUTLS_CERT_SIGNER_NOT_FOUND
  • GNUTLS_CERT_SIGNER_NOT_CA
  • GNUTLS_CERT_INSECURE_ALGORITHM
  • GNUTLS_E_CERTIFICATE_ERROR
  • GnuTLS error
  • libgnutls.so

What your security team should do

  • Prioritize patching internet-facing systems, security gateways, package repositories, software update clients, API clients, VPN components, mail services, and authentication-adjacent services that use GnuTLS.
  • Create an inventory of applications and container images that dynamically or statically link GnuTLS, including third-party and embedded software.
  • Track vendor advisories for the exact fixed package versions applicable to each Linux distribution or product using GnuTLS.
  • Restart or redeploy affected services after patching to ensure the corrected library is loaded.
  • Add monitoring for unusual TLS certificate chains, unexpected issuing CAs, and certificate validation anomalies on high-value network paths.
  • Review custom CA trust stores and remove unnecessary internal or third-party CAs that could increase abuse potential.
  • For critical service-to-service communication, consider certificate or public-key pinning where maintainable.
  • Because this issue is not currently in CISA KEV and has low EPSS with no reported exploit maturity, treat it as high-impact but not necessarily emergency-wide; prioritize based on exposure and sensitivity of protected traffic.

The record

A flaw was found in gnutls. This vulnerability occurs because permitted name constraints were incorrectly ignored when previous Certificate Authorities (CAs) only had excluded name constraints. A remote attacker could exploit this to bypass critical name constraint checks during certificate validation. This bypass could lead to the acceptance of invalid certificates, potentially enabling spoofing or man-in-the-middle attacks against affected systems.

Affected packages

Ecosystem Package Introduced Fixed
openSUSE:Tumbleweed gnutls 0 3.8.13-1.1

Related vulnerabilities