Go
CVE-2025-61723
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint parsing untrusted PEM
-
ExploitSubmit crafted malformed PEM blob
-
ExecutionTrigger quadratic parsing in encoding/pem
-
ImpactExhaust CPU and deny service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable only when a Go application or dependency calls encoding/pem.Decode (or higher-level APIs that invoke it) on attacker-controlled input - for example certificate/key upload handlers, token parsers, or config loaders exposed to untrusted data. The limiting factor is reachability: although CVSS is AV:N/AC:L/PR:N/UI:N, there is no universal remote trigger - the attacker must reach a code path that parses untrusted PEM. Impact is confined to availability (CPU exhaustion/DoS); no confidentiality or integrity compromise. Mitigation is to rebuild affected binaries with Go 1.25.2 or later (Alpine: go 1.25.2-r0). |
| Impact | Signals are largely consistent and point to a moderate-priority availability (DoS) issue rather than a critical one. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5 High) indicates a remote, unauthenticated, low-complexity attack with pure availability impact and no confidentiality or integrity loss, which aligns with CWE-770 (uncontrolled resource consumption) and the 'Denial Of Service' tag. EPSS is very low (0.04%, 14th percentile), it is NOT on CISA KEV, and no public exploit is referenced, so there is no evidence of active exploitation or weaponization. The 7.5 score reflects worst-case network reachability, but real-world risk is gated by whether an application actually feeds attacker-controlled data into the affected encoding/pem.Decode path - so this is a 'high-CVSS, situational-real-risk' issue. Note a data caveat: the input Description ('Alpine Linux: go fixed in 1.25.2-r0') is a distro package-tracker stub, not the real vulnerability text; technical details here are inferred from the Go advisory (GO-2025-4009) and oss-security references, so verify affected code paths against the vendor advisory. |
| Exploit ScenarioDerived | An attacker submits a specially crafted, malformed PEM blob (e.g. an uploaded certificate, key, or token) to a Go service that calls encoding/pem.Decode on untrusted input. Because parsing time for certain invalid inputs scales non-linearly (quadratically) with input size, a modestly-sized malicious payload consumes disproportionate CPU, degrading or halting the service. No public exploit code is identified at time of analysis, but the condition is simple to trigger once a PEM-parsing endpoint is exposed. |
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's encoding/pem package (CWE-770) allows unauthenticated remote attackers to exhaust CPU resources by supplying crafted PEM data to applications that call pem.Decode on untrusted input. Affected deployments include Go versions before 1.25.2, notably Alpine Linux's go package before 1.25.2-r0. Exploitation requires a reachable code path that parses attacker-controlled PEM (e.g., certificate upload or token parsing); no public exploit identified at time of analysis, EPSS is low at 0.04% (14th percentile), and the overall risk is a moderate-priority availability issue rather than a critical one.
Earlier versions of this analysis (1)
Go runtime/toolchain package on Alpine Linux contains an unspecified vulnerability addressed in the Alpine package version 1.25.2-r0. The underlying nature, impact class, and affected component within Go are not disclosed in available intelligence sources. EPSS score of 0.04% (14th percentile) indicates a low current probability of observed exploitation, and no public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to Go 1.25.2 or later; Alpine Linux users should update the go package to 1.25.2-r0 (Vendor-released patch: Go 1.25.2, Alpine go 1.25.2-r0). After upgrading, rebuild all affected Go binaries to incorporate the fix, as Go is statically linked. If immediate upgrade is not possible, restrict or disable endpoints that parse attacker-controlled PEM data (e.g., certificate/key upload handlers, token parsers, config loaders) and validate or size-limit PEM input before passing it to pem.Decode; these are compensating controls with trade-offs including reduced functionality. Refer to the upstream patch at https://go.dev/cl/709858 and advisory https://pkg.go.dev/vuln/GO-2025-4009.
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 vulnerability resides in the Go standard library's encoding/pem package, specifically in the pem.Decode function (and higher-level APIs that invoke it). CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause: the decoder can be induced to consume excessive CPU when processing a crafted PEM block, leading to a denial of service. The affected component is shipped as part of the Go toolchain and runtime; Alpine Linux packages it as the 'go' package. CPE data confirms golang:go as the affected product across unspecified versions. The fix is in Go 1.25.2 (Alpine go 1.25.2-r0), with upstream patch at go.dev/cl/709858 and advisory GO-2025-4009. Per the CVSS vector, there is no confidentiality or integrity impact; only availability is affected.
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 malformed input triggers quadratic CPU consumption (A:H) with no confidentiality/integrity impact; assumes an exposed untrusted PEM-parsing path, so AV:N/AC:L/PR:N.
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
A denial-of-service flaw in the Go standard library's PEM parsing component (CVE-2025-61723) allows crafted certificate or token data to drive excessive CPU consumption in any application that decodes untrusted PEM input, potentially degrading or stalling those services. Because Go underpins a wide range of internally built and third-party services - including container base images such as Alpine Linux - the exposure is broad but limited to availability rather than data compromise or code execution. Leadership should treat this as an operational-resilience issue: the realistic worst case is service slowdown or outage in internet-facing authentication, upload, or API paths, not a breach.
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