Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-27145— Inefficient candidate hostname parsing in crypto/x509

AI Predicted 7.5 Difficulty: Trivial

Possible ATT&CK Techniques 1AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-27145

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Inefficient candidate hostname parsing in crypto/x509
Source: NVD (National Vulnerability Database)
Vulnerability Description
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Go standard librarycrypto/x509 0 ~ 1.25.11 -

II. Public POCs for CVE-2026-27145

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-27145

登录查看更多情报信息。

Patches & Fixes for CVE-2026-27145 (1)

Vendor Advisories for CVE-2026-27145 (1)

Vendor Pages for CVE-2026-27145 (2)

Same Patch Batch · Go standard library · 2026-06-02 · 3 CVEs total

CVE-2026-42504Quadratic complexity in WordDecoder.DecodeHeader in mime
CVE-2026-42507Arbitrary inputs are included in errors without any escaping in net/textproto

IV. Related Vulnerabilities

V. Comments for CVE-2026-27145

No comments yet


Leave a comment