Go standard library
CVE-2025-58187
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-facing Go service
-
DeliverySend crafted malicious input
-
ExploitTrigger worst-case algorithmic processing
-
ExecutionExhaust CPU/memory resources
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Exploitation requires that an affected Go version (fixed in upstream Go 1.25.2 / Alpine go 1.25.2-r0) be used to build a service that parses or processes attacker-controlled input through the vulnerable algorithmically-inefficient code path (per CWE-407). Per the CVSS vector no authentication or user interaction is needed (PR:N/UI:N) and the vector is network-reachable (AV:N) with low complexity (AC:L). Limiting factors: impact is confined to availability (C:N/I:N), so no data is exposed or altered; the application must actually expose the vulnerable Go code path to untrusted input, and systems are only at risk until the Go toolchain is updated and affected binaries are rebuilt - merely upgrading the OS package without recompiling statically-linked Go applications does not remediate them. |
| Impact | Signals point to a moderate-priority availability issue, not a critical breach risk. 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, unauthenticated, low-complexity denial-of-service with no confidentiality or integrity impact - consistent with CWE-407 (Inefficient Algorithmic Complexity), i.e. an attacker forcing worst-case/quadratic processing to exhaust CPU or memory. Exploitation evidence is weak: EPSS is only 0.02% (6th percentile), there is no CISA KEV listing, and no public exploit is identified in the provided data, so this is no public exploit identified at time of analysis. The 7.5 'HIGH' rating is driven entirely by the A:H component, not by any data compromise - treat it as a reliability/availability hardening item rather than an emergency. CONFLICT TO VERIFY: the input Tags include 'Information Disclosure', but the CVSS vector sets C:N and A:H, meaning this is an availability (DoS) flaw, not information disclosure - the tag appears mislabeled and should not drive triage. Because the supplied Description is essentially just a patch notice ('Alpine Linux: go fixed in 1.25.2-r0'), the specific vulnerable Go package/function and the exact triggering input are not stated and should be confirmed against GO-2025-4007 / the upstream Go issue before scoping affected services. |
| Exploit ScenarioDerived | An attacker sends specially crafted input to a network-facing service built with an affected Go version, triggering a code path with inefficient (e.g. super-linear) algorithmic complexity that consumes disproportionate CPU or memory. Repeated or single large malicious inputs degrade or crash the service, causing denial of service without any authentication or user interaction. No public proof-of-concept is identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 08, 2026
Denial of service in the Go standard library allows unauthenticated remote attackers to consume excessive CPU or memory by driving an affected Go-built service through an algorithmically inefficient code path with specially crafted input; the vulnerability is fixed upstream in Go 1.25.2 and in Alpine's go 1.25.2-r0 package. Per the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) exploitation requires no credentials and no user interaction, but impact is confined to availability - no data is read or modified. Only services compiled with an affected Go toolchain that actually expose the vulnerable code path to untrusted input are at risk, and because Go links the runtime statically, updating the OS package alone does not fix already-built binaries. Risk signals are modest: EPSS is 0.02% (6th percentile), no CISA KEV listing exists, and no public exploit code was identified at time of analysis.
Earlier versions of this analysis (1)
CVE-2025-58187 records a vulnerability in the Go programming language package as distributed by Alpine Linux, addressed in package version 1.25.2-r0. The nature, severity, and impact of the underlying vulnerability are entirely absent from the CVE record - no description, CVSS score, or CWE classification has been published. The EPSS score of 0.02% at the 6th percentile reflects very low modeled exploitation probability, and no public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Vendor-released patch: Go 1.25.2, packaged on Alpine Linux as go 1.25.2-r0. The primary action is to upgrade the toolchain - on Alpine run 'apk upgrade go' (or pin go=1.25.2-r0) and on other platforms install Go 1.25.2 or later from the upstream download or the distribution's packaged Go - and then rebuild and redeploy every Go binary that was compiled with an affected version, since Go statically links the standard library and an upgraded package does not retroactively change existing artifacts; verify with 'go version -m <binary>' on the deployed executables. Confirm the fix against the upstream change list at https://go.dev/cl/709854, the Go vulnerability entry at https://pkg.go.dev/vuln/GO-2025-4007, and the announcement at https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI, with the Alpine and VulDB advisories as secondary sources. Where rebuilding is not immediately possible, apply compensating controls at the perimeter: cap request body sizes and header counts, impose per-request CPU and wall-clock timeouts, and rate-limit the endpoints that feed untrusted input into the affected parsing path; these reduce the amplification factor but do not eliminate it and can cause legitimate large or slow requests to be rejected, so they are stopgaps only. Because the impact is availability-only with no confidentiality or integrity loss, no credential rotation or data-integrity review is required; prioritise rebuilding internet-facing Go services that accept untrusted input and demote internal-only binaries accordingly.
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 root cause class is CWE-407 (Inefficient Algorithmic Complexity): a routine in the Go standard library processes attacker-controlled input through an algorithm whose cost grows disproportionately with input size or structure, so a modest request can be amplified into disproportionate CPU or memory consumption. The affected component is the Go toolchain and standard library, identified by CPE cpe:2.3:a:golang:go, with the upstream defect tracked as golang/go issue 75681 and fixed by change list go.dev/cl/709854, published as advisory GO-2025-4007 and announced on the golang-announce mailing list on 2025-10-08 (mirrored to oss-security). Because the flaw lives in the standard library rather than in a dynamically loaded shared object, the tainted code is baked into every program the affected toolchain compiles; remediation therefore has two distinct halves - replacing the toolchain and recompiling downstream artifacts. Note that one third-party tag labels the issue as information disclosure, but the authoritative assessed vector rates confidentiality and integrity impact as none (C:N/I:N), with the entire effect expressed as availability loss (A:H).
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
Network-reachable, unauthenticated algorithmic-complexity DoS (AV:N/AC:L/PR:N/UI:N); only availability affected (A:H, C:N/I:N) with no scope change.
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
Go standard library services built with vulnerable toolchains face a remotely exploitable denial-of-service condition that can degrade or take down internet-facing applications through excessive CPU or memory consumption. Impact is limited to availability, with no data exposure or modification and no public exploit identified, but leadership should prioritize remediation for externally exposed, availability-critical Go services because a vendor-fixed version 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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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