Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27145: CWE-407: Inefficient Algorithmic Complexity in Go standard library crypto/x509

0
Medium
VulnerabilityCVE-2026-27145gcvecve-2026-27145cwe-407
Published: Tue Jun 02 2026 (06/02/2026, 22:01:36 UTC)
Source: GCVE Database
Vendor/Project: Go standard library
Product: crypto/x509

Description

CVE-2026-27145 is an inefficient algorithmic complexity vulnerability in the Go standard library's crypto/x509 package. The issue arises because the VerifyHostname method repeatedly calls a function that splits the hostname string for each DNS Subject Alternative Name (SAN) entry, causing quadratic scaling of verification costs with large SAN lists. This overhead occurs even for untrusted certificates since hostname verification happens before certificate chain building. No patch or official remediation guidance is currently available. There are no known exploits in the wild. The vulnerability could lead to performance degradation during hostname verification in TLS certificate validation processes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 01:48:39 UTC

Technical Analysis

The vulnerability in Go's crypto/x509 package involves inefficient repeated string splitting in the VerifyHostname method when processing multiple DNS SAN entries. Specifically, the method calls matchHostnames in a loop over all SAN entries, and each call executes strings.Split(host, ".") on the same hostname, resulting in quadratic time complexity relative to the number of SAN entries and hostname label count. This inefficiency impacts the performance of hostname verification even for untrusted certificates, potentially causing excessive CPU usage during TLS certificate validation.

Potential Impact

The impact is primarily performance-related, causing increased CPU usage and verification latency when validating certificates with large DNS SAN lists. This could degrade service responsiveness or resource utilization in applications relying on Go's crypto/x509 for TLS hostname verification. There is no indication of direct security compromise such as code execution or data leakage. No known exploits exist in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — no official fix or remediation guidance is currently available from the vendor. Users should monitor the Go project advisories for updates. Until a fix is released, consider limiting the size of DNS SAN lists in certificates or implementing application-level controls to mitigate potential performance impacts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-02-17T19:57:28.435Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null
Gcve Source
db.gcve.eu

Threat ID: 6a1f872ae29bf47b5044bf1a

Added to database: 6/3/2026, 1:45:14 AM

Last enriched: 6/3/2026, 1:48:39 AM

Last updated: 6/3/2026, 2:52:30 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses