CVE-2025-58187CWE-407

CVE-2025-58187

High · published October 30, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
33.7
In the wild
Unconfirmed
What it is

⚡ Some inputs can stall certificate validation faster than a traffic jam on a Monday morning! Imagine a toll booth that takes exponentially longer to serve each car as the line grows — that’s what happens here when processing certificate chains becomes too complex. A small increase in the size of the certificate can lead to mind-boggling delays. An attacker could exploit this design flaw to cause a denial of service, effectively slowing down your system to a crawl or rendering it unresponsive altogether. If a malicious entity sends oversized certificate inputs, they could disrupt essential services, creating a perfect storm of frustration and downtime!

Put simply

Imagine a toll booth that takes exponentially longer to serve each car as the line grows — that’s what happens here when processing certificate chains becomes too complex. A small increase in the size of the certificate can lead to mind-boggling delays. This vulnerability arises from a non-linear scaling issue in the name constraint checking algorithm used for validating arbitrary certificate chains, which can lead to performance degradation under specific conditions.

What to do

An attacker could exploit this design flaw to cause a denial of service, effectively slowing down your system to a crawl or rendering it unresponsive altogether. If a malicious entity sends oversized certificate inputs, they could disrupt essential services, creating a perfect storm of frustration and downtime! To remediate this vulnerability, ensure you are using the latest version of your software that includes fixes for CVE-2025-58187. Implement rate limiting on certificate validation requests to prevent abuse, and consider reviewing your certificate management policies to mitigate potential exploits. You've got this! With a few simple steps, you can turn this vulnerability into a thing of the past. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00406 · 33.7th percentile
Weakness
CWE-407 · Inefficient Algorithmic Complexity
Published
2025-10-30T03:16Z
Affected products (2)
ProductVersionsFixed in
golang/go< 1.24.91.24.9
golang/go≥ 1.25.0, < 1.25.31.25.3
References (5)
EPSS history
Timeline
  • 29 OCT 22:10Z
    Quadratic complexity when checking name constraints in crypto/x509
    cvelistv5