Skip to main content

Go standard library CVE-2025-58187

HIGH
Inefficient Algorithmic Complexity (CWE-407)
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 network-facing Go service
  2. Delivery
    Send crafted malicious input
  3. Exploit
    Trigger worst-case algorithmic processing
  4. Execution
    Exhaust CPU/memory resources
  5. Impact
    Denial 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.

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

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

go stdlib fix: 1.24.9, 1.25.3

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

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

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.

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:31 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

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
High
Go toolchain/standard library underpins vast numbers of cloud and server applications
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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