Go
CVE-2025-58188
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Go service that parses certificates
-
DeliveryDeliver crafted X.509 certificate
-
ExploitTrigger improper-validation panic in crypto/x509
-
ExecutionProcess/goroutine crashes
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires that the target application use Go's affected crypto/x509 certificate-validation code (as shipped in Go before 1.25.2 / Alpine 'go' before 1.25.2-r0) AND that it parse or verify an attacker-controlled X.509 certificate - e.g. a TLS endpoint accepting client certificates, a client validating a malicious server certificate, or any service that ingests untrusted certificate data. LIMITING FACTORS: impact is denial of service only (no data exposure or code execution); the flaw is only reachable in programs built with the vulnerable Go toolchain that actually process untrusted certificates, so services that never handle attacker-supplied certs are not exposed. No authentication or user interaction is needed per the CVSS vector (PR:N/UI:N). |
| Impact | Signals are consistent and point to a moderate, availability-only issue rather than an urgent priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remotely reachable, low-complexity, unauthenticated denial-of-service with no confidentiality or integrity impact - the 'High' score is driven entirely by A:H. EPSS is effectively floor-level (0.01%, 2nd percentile), the CVE is NOT on CISA KEV, and no public exploit is referenced, so there is no evidence of active or imminent mass exploitation. This is a classic 'high CVSS, low real-world urgency' DoS in the Go standard library (CWE-295, improper certificate validation leading to a crash/panic during certificate processing). NOTE A CONFLICT: the input Tags include 'Information Disclosure', but the CVSS vector sets C:N and I:N and only A:H, so the impact is a crash/DoS, not disclosure - treat the 'Information Disclosure' label as unreliable and verify against the Go advisory (GO-2025-4013). Priority: patch on a normal cadence (rebuild affected Go binaries / update Alpine 'go' to 1.25.2-r0), not an emergency. |
| Exploit ScenarioDerived | An attacker who can present a crafted X.509 certificate to a Go application that parses or verifies it - for example a TLS server/client, or any service validating an attacker-supplied certificate chain - triggers a panic in the certificate-validation path, crashing the handling goroutine or process and denying service. No authentication or user interaction is required (PR:N/UI:N) and the attack is over the network (AV:N) with low complexity. No public exploit code is referenced in the provided intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 08, 2026
Denial of service in Go's crypto/x509 certificate validation affects applications built with Go before 1.25.2 and Alpine Linux's go package before 1.25.2-r0. An attacker who can supply a crafted X.509 certificate to a service or client that parses or verifies certificates can trigger the flaw without authentication or user interaction, causing availability impact only. No public exploit identified at time of analysis, EPSS is 0.01%, and a vendor patch is available.
Earlier versions of this analysis (1)
CVE-2025-58188 represents a security fix applied to the Go language package in Alpine Linux, addressed in package version 1.25.2-r0. The nature, class, and precise impact of the underlying vulnerability are not disclosed in available data - only the fix version is confirmed. With an EPSS score of 0.01% (2nd percentile) and no CISA KEV listing, real-world exploitation is assessed as highly unlikely at this time. Security teams maintaining Alpine Linux environments running the Go runtime or toolchain should treat this as a routine patching obligation pending further vendor disclosure.
RemediationAI
Upgrade to Go 1.25.2 or later; on Alpine Linux, upgrade the go package to 1.25.2-r0 or later. Vendor-released patch: 1.25.2 for Go and 1.25.2-r0 for Alpine. Rebuild any application that uses the vulnerable Go crypto/x509 code with the patched toolchain, since Go statically links the standard library. Consult GO-2025-4013, go.dev/issue/75675, and go.dev/cl/709853 for patch details, and the Alpine package tracker or golang-announce thread for distribution-specific guidance. If upgrading cannot be done immediately, reduce exposure by preventing the application from parsing or verifying untrusted X.509 certificates where possible, such as disabling unnecessary client-certificate authentication, avoiding acceptance of certificates from untrusted sources, or isolating the certificate-consuming service; these are compensating controls that can break required TLS trust workflows and do not replace patching.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is Go's standard-library crypto/x509 package, which parses and validates X.509 certificates for TLS and other certificate-consuming code. CWE-295 classifies the root cause as improper certificate validation; the assessed CVSS vector indicates a high availability impact (C:N/I:N/A:H) rather than data exposure, signature bypass, or code execution. Per the independent assessment, exploitation requires that the target application be built with the vulnerable Go toolchain and actually parse or verify an attacker-controlled X.509 certificate, such as a TLS endpoint accepting client certificates, a client validating a malicious server certificate, or any service that ingests untrusted certificate data. No authentication or user interaction is needed per the CVSS vector (PR:N/UI:N), but services that never handle attacker-supplied certificates are not exposed.
Know when Go gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote, unauthenticated, low-complexity processing of a crafted certificate causes a crash, so AV:N/AC:L/PR:N/UI:N with availability-only impact (C:N/I:N/A:H).
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
2DescriptionCVE.org
Alpine Linux: go fixed in 1.25.2-r0
Executive ViewAI
Organizations running services or clients built with Go versions before 1.25.2, or Alpine Linux hosts using the go package before 1.25.2-r0, face a high-severity denial-of-service risk in certificate validation. If triggered, certificate-parsing endpoints could become unavailable and disrupt customer-facing or internal services; however, no public exploit identified at time of analysis and a vendor patch is available.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there
Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re
Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a
Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa
Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash
Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB