CVE-2026-27145
Last modified
CVE-2026-27145 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. (*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. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | crypto/x509 | < 1.25.11; >= 1.26.0-0, < 1.26.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-27145?
How severe is CVE-2026-27145?
How do I fix CVE-2026-27145?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-2714The Institute Management plugin for WordPress is vulnerable …4.4
- CVE-2026-27140SWIG file names containing 'cgo' and well-crafted payloads c…8.8
- CVE-2026-27141Due to missing nil check, sending 0x0a-0x0f HTTP/2 frames wi…7.5
- CVE-2026-27142Actions which insert URLs into the content attribute of HTML…6.1
- CVE-2026-27143Arithmetic over induction variables in loops were not correc…9.8
- CVE-2026-27144The compiler is meant to unwrap pointers which are the opera…7.1
- CVE-2026-27146GetSimple CMS is a content management system. All versions o…4.5
- CVE-2026-27147GetSimple CMS is a content management system. All versions o…5.4
- CVE-2026-27148Storybook is a frontend workshop for building user interface…9.6
- CVE-2026-27149Discourse is an open source discussion platform. Prior to ve…6.5
- CVE-2026-27150Discourse is an open source discussion platform. Prior to ve…3.8
- CVE-2026-27151Discourse is an open source discussion platform. Prior to ve…2.7
Are you affected by CVE-2026-27145?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
