CVE-2025-58187
Quadratic complexity when checking name constraints in crypto/x509
7.5
HIGH
CVSS 3.1
EPSS 0.02%
Description
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.
How to fix CVE-2025-58187
To remediate CVE-2025-58187, upgrade the affected package to a fixed version below.
- —upgrade to 1.24.9 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.25.2-1 or later
- —upgrade to 1.24.9 or later
Is CVE-2025-58187 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.24.9, >= 1.25.0, < 1.25.3
- from 0
- from 0
- from 0
- from 0, < 1.25.2-1
- from 0, < 1.24.9, >= 1.25.0, < 1.25.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |