CVE-2025-61729
CVE
Medium
· CVSS 5.3
Medium Impactcrypto/x509: Quadratic Runtime in HostnameError.Error via Malicious Certificate
Exploitable under specific conditions
This vulnerability can affect KrakenD under specific conditions. Review the affected versions below and upgrade if your deployment is exposed.
Component
Go standard library (crypto/x509)
Disclosed
Dec 4, 2025
CVSS Score
5.3
Description
crypto/x509 package constructs hostname error strings using repeated string
concatenation over an unbounded list of certificate hostnames. A malicious certificate
with an extremely large number of hostnames can cause HostnameError.Error() to exhibit
quadratic runtime, leading to excessive CPU and memory consumption and denial of service
during TLS handshake processing.Version summary
Community Edition
2.12.1
addresses this advisory
Affected CE versions
>= 2.0, < 2.12.1
Enterprise Edition
2.12.2
addresses this advisory
Affected EE versions
>= 2.0, < 2.12.2
Upgrade to the addressed version or later to remediate this vulnerability.