Uncaught Exception Affecting std/crypto/x509 package, versions >=1.18.0-0 <1.18.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.48% (73rd 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-14545637
  • published6 Jan 2026
  • disclosed23 May 2022
  • creditTailscale

Introduced: 23 May 2022

CVE-2022-27536  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Uncaught Exception.

Go Vulnerability Report:
Verifying certificate chains containing certificates which are not compliant with RFC 5280 causes Certificate.Verify to panic on macOS.These chains can be delivered through TLS and can cause a crypto/tls or net/http client to crash.

CVSS Base Scores

version 4.0
version 3.1