Allocation of Resources Without Limits or Throttling Affecting std/crypto/x509 package, versions <1.24.9>=1.25.0 <1.25.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (31st 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDCRYPTOX509-14545554
  • published6 Jan 2026
  • disclosed29 Oct 2025
  • creditJakub Ciolek

Introduced: 29 Oct 2025

CVE-2025-58187  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade std/crypto/x509 to version 1.24.9, 1.25.3 or higher.

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling.

Go Vulnerability Report:
Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate.This affects programs which validate arbitrary certificate chains.

CVSS Base Scores

version 4.0
version 3.1