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.
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.
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:- Before 1.24.9 is affected.
- Version 1.25.0 and below 1.25.3 is affected.
Exploit Probability
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.