OpenSSL Certificate Chain Timing Attack via Name Constraints
CVE-2025-58187 Published on October 29, 2025

Quadratic complexity when checking name constraints in crypto/x509
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.

Github Repository Github Repository NVD

Vulnerability Analysis

CVE-2025-58187 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Products Associated with CVE-2025-58187

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-58187 are published in OpenSSL:

 

Affected Versions

Go standard library crypto/x509:

Exploit Probability

EPSS
0.02%
Percentile
4.22%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.