CVE 6.5 MEDIUM

Quadratic complexity when checking name constraints in crypto/x509_CVE-2025-58187

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Description

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

Basic Information

ID CVE-2025-58187
Source Go
Published Oct 29, 2025 at 22:10
Modified Oct 30, 2025 at 20:34

Affected Product

Vendor Go standard library
Product crypto/x509
Affected Versions Go standard library crypto/x509 0
Go standard library crypto/x509 1.25.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.