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.
{
"url": "https://pkg.go.dev/vuln/GO-2025-4007",
"review_status": "REVIEWED"
}{
"imports": [
{
"path": "crypto/x509",
"symbols": [
"CertPool.AppendCertsFromPEM",
"Certificate.CheckCRLSignature",
"Certificate.CheckSignature",
"Certificate.CheckSignatureFrom",
"Certificate.CreateCRL",
"Certificate.Verify",
"CertificateRequest.CheckSignature",
"CreateCertificate",
"CreateCertificateRequest",
"CreateRevocationList",
"DecryptPEMBlock",
"EncryptPEMBlock",
"MarshalECPrivateKey",
"MarshalPKCS1PrivateKey",
"MarshalPKCS1PublicKey",
"MarshalPKCS8PrivateKey",
"MarshalPKIXPublicKey",
"ParseCRL",
"ParseCertificate",
"ParseCertificateRequest",
"ParseCertificates",
"ParseDERCRL",
"ParseECPrivateKey",
"ParsePKCS1PrivateKey",
"ParsePKCS1PublicKey",
"ParsePKCS8PrivateKey",
"ParsePKIXPublicKey",
"ParseRevocationList",
"RevocationList.CheckSignatureFrom",
"SetFallbackRoots",
"SystemCertPool",
"domainToReverseLabels",
"parseSANExtension"
]
}
]
}