Improper Certificate Validation Affecting std/crypto/x509 package, versions >=1.26.0-0 <1.26.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.63% (49th 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-15440730
  • published9 Mar 2026
  • disclosed6 Mar 2026
  • creditJakub Ciolek

Introduced: 6 Mar 2026

CVE-2026-27137  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Improper Certificate Validation.

Go Vulnerability Report:
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.

CVSS Base Scores

version 4.0
version 3.1