Skip to main content

Go CVE-2025-58188

HIGH
Improper Certificate Validation (CWE-295)
N/A vendor:alpine
7.5
CVSS 3.1 · Vendor: vendor:alpine
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Go service that parses certificates
  2. Delivery
    Deliver crafted X.509 certificate
  3. Exploit
    Trigger improper-validation panic in crypto/x509
  4. Execution
    Process/goroutine crashes
  5. Impact
    Denial 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 May 27, 2026 - 22:49

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

go stdlib fix: 1.24.8, 1.25.2

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

Vendor (vendor:alpine) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Analysis Updated
Oct 08, 2026 - 10:33 vuln.today
v2 - CVSS changed
CVSS changed
Oct 08, 2026 - 10:22 NVD
7.5 (HIGH)

DescriptionCVE.org

Alpine Linux: go fixed in 1.25.2-r0

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
High
Go standard library underpins vast amounts of cloud/container/backend infrastructure
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

More in Go

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2016-5386 HIGH
8.1 Jul 19

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there

CVE-2025-68121 CRITICAL POC
10.0 Feb 05

Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu

CVE-2019-14809 CRITICAL POC
9.8 Aug 13

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

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2026-101090 CRITICAL POC
9.3 Sep 27

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re

CVE-2026-78428 HIGH POC
8.8 Sep 17

Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a

CVE-2026-92791 HIGH POC
8.7 Sep 16

Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure

CVE-2018-7187 HIGH POC
8.8 Feb 16

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa

CVE-2026-16651 HIGH POC
8.7 Sep 21

Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash

CVE-2026-82405 HIGH POC
8.7 Sep 23

Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy