CVE-2025-58187

HIGH7.5EPSS 0.02%

Quadratic complexity when checking name constraints in crypto/x509

Published: 10/29/2025Modified: 5/15/2026

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.

Affected packages (6)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (7)