PoC Monitor
← All CVEs
CVE-2025-58187published 29 Oct 2025 22:10 UTCData: JSON · API

Go standard library crypto/x509

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-407
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Go standard library crypto/x509
  • < 1.24.9
  • >= 1.25.0, < 1.25.3

Fixed in 1.24.9, 1.25.3

Mitigation

Upgrade crypto/x509 to 1.24.9 or 1.25.3 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.