CVE-2025-58187: Quadratic complexity when checking name constraints in crypto/x509

Published Oct 29, 2025
·
Updated

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.

Other sources

Quadratic complexity when checking name constraints in crypto/x509

Microsoft

Affected Software

16 affected componentsFixes available
OpenSSL OpenSSL
Microsoft cbl2 tensorflow 2.11.1-2
Microsoft azl3 golang 1.25.3-1
Microsoft cbl2 msft-golang 1.24.8-1
Microsoft azl3 golang 1.23.12-1
Microsoft cbl2 golang 1.18.8-10
Microsoft cbl2 python-tensorboard 2.11.0-3
Microsoft cbl2 golang 1.22.7-5
Microsoft cbl2 gcc 11.2.0-8
Microsoft azl3 golang 1.25.5-1
Golang Go<1.24.9
Golang Go>=1.25.0<1.25.3
F5 BIG-IP Next for Kubernetes=2.1.0
2.2.0
F5 F5OS-A>=1.8.0<=1.8.3
F5 F5OS-C>=1.8.0<=1.8.2
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2.0

Event History

Oct 29, 2025
CVE Published
via MITRE·10:10 PM
Data Sourced
via MITRE·10:10 PM
DescriptionWeakness
Data Sourced
via NVD·11:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 31, 2025
Data Sourced
via Microsoft·01:08 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:08 AM
Affected Software
Updated
via Microsoft·01:08 AM
DescriptionSeverity
Updated
via Microsoft·01:08 AM
SeverityAffected Software
Feb 6, 2026
Advisory Published
via F5·05:29 PM
Data Sourced
via F5·05:29 PM
DescriptionSeverityWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58187?

CVE-2025-58187 has a high severity level due to the potential for denial-of-service attacks from certificate validation timeouts.

2

How do I fix CVE-2025-58187?

To fix CVE-2025-58187, update OpenSSL to the latest version where the vulnerability is patched.

3

What impact does CVE-2025-58187 have on system performance?

CVE-2025-58187 can cause significant delays in certificate validation, leading to performance degradation in applications that handle large certificate chains.

4

Is CVE-2025-58187 exploitable remotely?

Yes, CVE-2025-58187 is potentially exploitable remotely if an attacker can induce the application to validate a malicious certificate chain.

5

Which versions of OpenSSL are affected by CVE-2025-58187?

CVE-2025-58187 affects multiple versions of OpenSSL, specifically those prior to the implementation of the recent fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203