Improper Handling of Case Sensitivity Affecting std/crypto/x509 package, versions >=1.26.0-0 <1.26.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDCRYPTOX509-15928850
  • published8 Apr 2026
  • disclosed7 Apr 2026
  • creditRiyas, k1rnt, @1seal

Introduced: 7 Apr 2026

CVE-2026-33810  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade std/crypto/x509 to version 1.26.2 or higher.

Overview

std/crypto/x509 is a Go standard library package std/crypto/x509

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity.

Go Vulnerability Report:

When verifying a certificate chain containing excluded DNS constraints, these constraints are not correctly applied to wildcard DNS SANs which use a different case than the constraint. 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.

CVSS Base Scores

version 4.0
version 3.1