CVE-2026-32281

Inefficient policy validation in crypto/x509

Published Apr 8, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.

Analysis

AI-generated

Technical impact

This vulnerability causes inefficient processing of certificate chains that contain a large number of policy mappings during validation by Go's crypto/x509 library. The excessive computational effort can consume CPU and memory resources, potentially leading to denial of service in applications that trust the chain. The weakness aligns with CWE‑1050, an inefficient algorithm, and also maps to CWE‑295.

Affected Systems

The affected component is the Go standard library package crypto/x509 used for certificate chain verification. Any Go application that validates certificates against trusted roots, either through VerifyOptions.Roots or the system certificate pool, is impacted regardless of application type. The issue is present in all Go releases that include the vulnerable implementation; specific version numbers are not listed in the advisory.

Risk and Exploitability

With a CVSS score of 7.5, the vulnerability poses a moderate to high risk. The EPSS score is below 1%, suggesting current exploitation is unlikely, and it is not listed in the CISA KEV catalog. Attackers would need to supply a crafted certificate chain containing an unusually high number of policy mappings to a target application using the standard library for trusted validation. If successful, the attacker could cause elevated resource consumption and service interruption. No official patch is mentioned, so upgrading to a Go release that contains the fix is the best approach.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Go release that addresses the crypto/x509 policy validation inefficiency
  • Verify that the application still validates certificates correctly after the upgrade
  • Monitor the application for CPU or memory spikes that could indicate denial‑of‑service attempts
  • If an upgrade cannot be performed immediately, consider limiting the number of policy mappings in trusted chains or disabling policy validation for trusted certificates, understanding that this may affect compliance

Generated by OpenCVE AI on April 17, 2026 at 09:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Golang
Golang go
Weaknesses CWE-295
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang
Golang go
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library crypto/x509
Weaknesses CWE-770
Vendors & Products Go Standard Library
Go Standard Library crypto/x509
Type Values Removed Values Added
Weaknesses CWE-1050
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-770
Type Values Removed Values Added
Description Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.
Title Inefficient policy validation in crypto/x509
References
Weaknesses
  • CWE-1050

    Excessive Platform Resource Consumption within a Loop

  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 13, 2026, 6:19 PM
Reserved
Mar 11, 2026, 4:38 PM
Status
Analyzed
Published
Apr 8, 2026, 2:16 AM
Modified
Jul 25, 2026, 10:10 AM
Severity
Moderate
Public date
Apr 8, 2026, 1:06 AM